#[non_exhaustive]pub enum Problem {
Unnamed {
role: Role,
bounds: Rect,
},
RepeatedId {
id: u64,
},
FocusOnNothing,
FocusStuck {
on: Option<String>,
},
FocusTrapped {
reached: usize,
of: usize,
missed: Option<String>,
},
LowContrast {
theme: String,
pair: String,
ratio: f32,
least: f32,
},
WindowHeld {
name: Option<String>,
},
SharedShortcut {
keys: String,
times: usize,
},
}Expand description
What keeps someone out.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unnamed
A control with no name: a screen reader says only what it is.
RepeatedId
Two nodes with the same id, which assistive technology takes for one.
FocusOnNothing
Keyboard focus is on a node the tree does not have.
FocusStuck
Tab does not move the focus.
FocusTrapped
Tab goes round some of the controls and never reaches the others.
Fields
LowContrast
Two colors of a theme are too close to read one on the other.
Fields
WindowHeld
A window over the screen that Escape does not close, so the keyboard cannot leave it.
More than one command answers to the same keys.
Trait Implementations§
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more