Enum gilrs::ev::AxisOrBtn[][src]

pub enum AxisOrBtn {
    Axis(Axis),
    Btn(Button),
}

Represents Axis or Button.

Variants

Trait Implementations

impl Copy for AxisOrBtn
[src]

impl Clone for AxisOrBtn
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AxisOrBtn
[src]

Formats the value using the given formatter. Read more

impl Eq for AxisOrBtn
[src]

impl PartialEq for AxisOrBtn
[src]

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

This method tests for !=.

impl Hash for AxisOrBtn
[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 AxisOrBtn

impl Sync for AxisOrBtn