pub struct CheckboxIndicatorVisualState {
pub checked_state: SemanticCheckedState,
pub hovered: bool,
pub pressed: bool,
pub focused: bool,
pub enabled: bool,
}Fields§
§checked_state: SemanticCheckedState§hovered: bool§pressed: bool§focused: bool§enabled: boolImplementations§
Source§impl CheckboxIndicatorVisualState
impl CheckboxIndicatorVisualState
pub fn new( checked_state: SemanticCheckedState, hovered: bool, pressed: bool, focused: bool, enabled: bool, ) -> Self
pub fn pressable_state(&self) -> PressableIndicatorVisualState
Trait Implementations§
Source§impl Clone for CheckboxIndicatorVisualState
impl Clone for CheckboxIndicatorVisualState
Source§fn clone(&self) -> CheckboxIndicatorVisualState
fn clone(&self) -> CheckboxIndicatorVisualState
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 moreimpl Copy for CheckboxIndicatorVisualState
Source§impl Debug for CheckboxIndicatorVisualState
impl Debug for CheckboxIndicatorVisualState
impl Eq for CheckboxIndicatorVisualState
impl StructuralPartialEq for CheckboxIndicatorVisualState
Auto Trait Implementations§
impl Freeze for CheckboxIndicatorVisualState
impl RefUnwindSafe for CheckboxIndicatorVisualState
impl Send for CheckboxIndicatorVisualState
impl Sync for CheckboxIndicatorVisualState
impl Unpin for CheckboxIndicatorVisualState
impl UnsafeUnpin for CheckboxIndicatorVisualState
impl UnwindSafe for CheckboxIndicatorVisualState
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