Enum input::event::switch::SwitchState [] [src]

pub enum SwitchState {
    Off,
    On,
}

State of a Switch

Variants

Switch is off

Switch is on

Trait Implementations

impl Debug for SwitchState
[src]

Formats the value using the given formatter.

impl Clone for SwitchState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SwitchState
[src]

impl PartialEq for SwitchState
[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 SwitchState
[src]

impl Hash for SwitchState
[src]

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

Feeds a slice of this type into the state provided.