Enum gtk4::accessible::State
source · #[non_exhaustive]pub enum State {
Busy(bool),
Checked(AccessibleTristate),
Disabled(bool),
Expanded(Option<bool>),
Hidden(bool),
Invalid(AccessibleInvalidState),
Pressed(AccessibleTristate),
Selected(Option<bool>),
}
Expand description
Type-safe enum container for AccessibleState
values.
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.
Busy(bool)
Checked(AccessibleTristate)
Disabled(bool)
Expanded(Option<bool>)
Hidden(bool)
Invalid(AccessibleInvalidState)
Pressed(AccessibleTristate)
Selected(Option<bool>)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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