Enum pxl::ButtonState[][src]

pub enum ButtonState {
    Pressed,
    Released,
}

Enum representing the state of an input button

Variants

The button was pressed

The button was released

Trait Implementations

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

impl Debug for ButtonState
[src]

Formats the value using the given formatter. Read more

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 given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for ButtonState

impl Sync for ButtonState