Struct airmash_protocol::client::Key [−][src]
Send a key update for the client.
Notes:
seqshould be monotonically increasing with every key press.state:true-> pressed,false-> released.
Fields
seq: u32
key: KeyCode
state: bool
Trait Implementations
impl Copy for Key[src]
impl Copy for Keyimpl Clone for Key[src]
impl Clone for Keyfn clone(&self) -> Key[src]
fn clone(&self) -> KeyReturns 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 Key[src]
impl Debug for Keyfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Key> for ClientPacket[src]
impl From<Key> for ClientPacket