[][src]Enum rusty_gfx::ButtonValue

pub enum ButtonValue {
    Up,
    Down,
    Left,
    Right,
    Action1,
    Action2,
    Action3,
    Increase,
    Decrease,
}

Abstracted button values you may receive (arrow keys and WASD keys combined into directions, for example)

Variants

Up

An abstracted button that combines: Arrow Up, W, Comma (Dvorak)

Down

An abstracted button that combines: Arrow Down, S, O (Dvorak)

Left

An abstracted button that combines: Arrow Left, A

Right

An abstracted button that combines: Arrow Right, D, E (Dvorak)

Action1

An abstracted button that combines: Left Mouse Button, Space Bar, Backspace

Action2

An abstracted button that combines: Right Mouse Button, Enter, Return

Action3

An abstracted button that combines: Any other Mouse Button, Tab

Increase

An abstracted button that combines: =/+ key

Decrease

An abstracted button that combines: -/_ key

Trait Implementations

impl Clone for ButtonValue[src]

impl Copy for ButtonValue[src]

impl Debug for ButtonValue[src]

impl<'de> Deserialize<'de> for ButtonValue[src]

impl PartialEq<ButtonValue> for ButtonValue[src]

impl Serialize for ButtonValue[src]

impl StructuralPartialEq for ButtonValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,