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