pub enum FocusState {
Unfocused,
Focused,
FocusVisible,
Disabled,
}Expand description
Focus state metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FocusState
impl Clone for FocusState
Source§fn clone(&self) -> FocusState
fn clone(&self) -> FocusState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FocusState
impl Debug for FocusState
Source§impl Hash for FocusState
impl Hash for FocusState
Source§impl Ord for FocusState
impl Ord for FocusState
Source§fn cmp(&self, other: &FocusState) -> Ordering
fn cmp(&self, other: &FocusState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FocusState
impl PartialEq for FocusState
Source§fn eq(&self, other: &FocusState) -> bool
fn eq(&self, other: &FocusState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FocusState
impl PartialOrd for FocusState
impl Copy for FocusState
impl Eq for FocusState
impl StructuralPartialEq for FocusState
Auto Trait Implementations§
impl Freeze for FocusState
impl RefUnwindSafe for FocusState
impl Send for FocusState
impl Sync for FocusState
impl Unpin for FocusState
impl UnsafeUnpin for FocusState
impl UnwindSafe for FocusState
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