Enum nannou::ElementState []

pub enum ElementState {
    Pressed,
    Released,
}

Describes the input state of a key.

Variants

Trait Implementations

impl Copy for ElementState

impl Hash for ElementState

impl Clone for ElementState

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for ElementState

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 Debug for ElementState

Formats the value using the given formatter.