Enum button_controller::ButtonState [−][src]
pub enum ButtonState {
Inactive,
Hover,
Press,
Cancel,
}Stores the current state of button.
Variants
InactiveShow inactive visual state.
HoverShow hover visual state.
PressShow press visual state.
CancelShow cancel visual state.
Trait Implementations
impl Clone for ButtonState[src]
impl Clone for ButtonStatefn clone(&self) -> ButtonState[src]
fn clone(&self) -> ButtonStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for ButtonState[src]
impl Copy for ButtonStateimpl PartialEq for ButtonState[src]
impl PartialEq for ButtonStatefn eq(&self, other: &ButtonState) -> bool[src]
fn eq(&self, other: &ButtonState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for ButtonState[src]
impl Debug for ButtonStateAuto Trait Implementations
impl Send for ButtonState
impl Send for ButtonStateimpl Sync for ButtonState
impl Sync for ButtonState