Enum nannou::ElementState []

pub enum ElementState {
    Pressed,
    Released,
}

Describes the input state of a key.

Variants

Trait Implementations

impl Copy for ElementState

impl Eq for ElementState

impl Hash for ElementState

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl PartialEq<ElementState> for ElementState

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

1.0.0
[src]

This method tests for !=.

impl Clone for ElementState

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ElementState

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ElementState

impl Sync for ElementState