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
up: bool
down: bool
left: bool
right: bool
boost: bool
strafe: bool
stealth: bool
flagspeed: bool
Trait Implementations
impl Copy for ServerKeyState[src]
impl Copy for ServerKeyStateimpl Clone for ServerKeyState[src]
impl Clone for ServerKeyStatefn clone(&self) -> ServerKeyState[src]
fn clone(&self) -> ServerKeyStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ServerKeyState[src]
impl Debug for ServerKeyStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for ServerKeyState[src]
impl Default for ServerKeyStatefn default() -> ServerKeyState[src]
fn default() -> ServerKeyStateReturns the "default value" for a type. Read more
impl Hash for ServerKeyState[src]
impl Hash for ServerKeyStatefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Eq for ServerKeyState[src]
impl Eq for ServerKeyStateimpl PartialEq for ServerKeyState[src]
impl PartialEq for ServerKeyStatefn eq(&self, other: &ServerKeyState) -> bool[src]
fn eq(&self, other: &ServerKeyState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ServerKeyState) -> bool[src]
fn ne(&self, other: &ServerKeyState) -> boolThis method tests for !=.
impl Component for ServerKeyState[src]
impl Component for ServerKeyStatetype Storage = DenseVecStorage<Self>
Associated storage type for this component.
Auto Trait Implementations
impl Send for ServerKeyState
impl Send for ServerKeyStateimpl Sync for ServerKeyState
impl Sync for ServerKeyState