Struct elma::state::PlayerKeys[][src]

pub struct PlayerKeys {
    pub throttle: u32,
    pub brake: u32,
    pub rotate_right: u32,
    pub rotate_left: u32,
    pub change_direction: u32,
    pub toggle_navigator: u32,
    pub toggle_timer: u32,
    pub toggle_show_hide: u32,
}

Key settings of a player.

Fields

Throttle key.

Brake key.

Rotate right key.

Rotate left key.

Change direction key.

Toggle navigator key.

Toggle timer key.

Toggle show/hide key.

Trait Implementations

impl Default for PlayerKeys
[src]

Returns the "default value" for a type. Read more

impl Debug for PlayerKeys
[src]

Formats the value using the given formatter. Read more

impl Clone for PlayerKeys
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PlayerKeys
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for PlayerKeys

impl Sync for PlayerKeys