Enum button_controller::ButtonState [] [src]

pub enum ButtonState {
    Inactive,
    Hover,
    Press,
    Cancel,
}

Stores the current state of button.

Variants

Show inactive visual state.

Show hover visual state.

Show press visual state.

Show cancel visual state.

Trait Implementations

impl Clone for ButtonState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ButtonState
[src]

impl PartialEq for ButtonState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ButtonState
[src]

Formats the value using the given formatter.