Enum freya_components::SwitchStatus 
source · pub enum SwitchStatus {
    Idle,
    Hovering,
}Expand description
Describes the current status of the Switch.
Variants§
Trait Implementations§
source§impl Clone for SwitchStatus
 
impl Clone for SwitchStatus
source§fn clone(&self) -> SwitchStatus
 
fn clone(&self) -> SwitchStatus
Returns a copy 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 SwitchStatus
 
impl Debug for SwitchStatus
source§impl Default for SwitchStatus
 
impl Default for SwitchStatus
source§fn default() -> SwitchStatus
 
fn default() -> SwitchStatus
Returns the “default value” for a type. Read more
source§impl PartialEq<SwitchStatus> for SwitchStatus
 
impl PartialEq<SwitchStatus> for SwitchStatus
source§fn eq(&self, other: &SwitchStatus) -> bool
 
fn eq(&self, other: &SwitchStatus) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for SwitchStatus
impl StructuralPartialEq for SwitchStatus
Auto Trait Implementations§
impl RefUnwindSafe for SwitchStatus
impl Send for SwitchStatus
impl Sync for SwitchStatus
impl Unpin for SwitchStatus
impl UnwindSafe for SwitchStatus
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
    T: Default,
 
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
 
fn null_value() -> T
The none-equivalent value.