#[repr(u16)]pub enum WidgetState {
Disabled = 1,
Hovered = 2,
Active = 4,
Focused = 8,
FocusVisible = 16,
Selected = 32,
Open = 64,
}Variants§
Trait Implementations§
Source§impl Clone for WidgetState
impl Clone for WidgetState
Source§fn clone(&self) -> WidgetState
fn clone(&self) -> WidgetState
Returns a duplicate of the value. Read more
1.0.0 · 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 WidgetState
impl Debug for WidgetState
Source§impl From<WidgetState> for WidgetStates
impl From<WidgetState> for WidgetStates
Source§fn from(value: WidgetState) -> Self
fn from(value: WidgetState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WidgetState
impl PartialEq for WidgetState
impl Copy for WidgetState
impl Eq for WidgetState
impl StructuralPartialEq for WidgetState
Auto Trait Implementations§
impl Freeze for WidgetState
impl RefUnwindSafe for WidgetState
impl Send for WidgetState
impl Sync for WidgetState
impl Unpin for WidgetState
impl UnsafeUnpin for WidgetState
impl UnwindSafe for WidgetState
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