Struct airmash_protocol::ServerKeyState[][src]

pub struct ServerKeyState {
    pub up: bool,
    pub down: bool,
    pub left: bool,
    pub right: bool,
    pub boost: bool,
    pub strafe: bool,
    pub stealth: bool,
    pub flagspeed: bool,
}

All possible "keys" that a player can have activated.

Fields

Trait Implementations

impl Copy for ServerKeyState
[src]

impl Clone for ServerKeyState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServerKeyState
[src]

Formats the value using the given formatter. Read more

impl Hash for ServerKeyState
[src]

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

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

impl Eq for ServerKeyState
[src]

impl PartialEq for ServerKeyState
[src]

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

This method tests for !=.

impl Component for ServerKeyState
[src]

Associated storage type for this component.

Auto Trait Implementations