Enum amethyst_input::ButtonState [] [src]

pub enum ButtonState {
    Pressed(ChangeState),
    Released(ChangeState),
}

Describes an input state for a button.

Variants

Button is pressed

Button is released

Trait Implementations

impl Eq 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.

impl Copy for ButtonState
[src]

impl Clone for ButtonState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more