Enum button_controller::ButtonState
source · pub enum ButtonState {
Inactive,
Hover,
Press,
Cancel,
}
Expand description
Stores the current state of button.
Variants§
Inactive
Show inactive visual state.
Hover
Show hover visual state.
Press
Show press visual state.
Cancel
Show cancel visual state.
Trait Implementations§
source§impl Clone for ButtonState
impl Clone for ButtonState
source§fn clone(&self) -> ButtonState
fn clone(&self) -> ButtonState
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 more