Enum input::event::pointer::ButtonState [] [src]

pub enum ButtonState {
    Pressed,
    Released,
}

State of a Button

Variants

Button is pressed

Button is released

Trait Implementations

impl Debug for ButtonState
[src]

Formats the value using the given formatter.

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 Eq for ButtonState
[src]

impl Hash for ButtonState
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.