Struct airmash_protocol::Player [−][src]
pub struct Player(pub u16);
A player ID
Methods
impl Player[src]
impl PlayerTrait Implementations
impl From<Entity> for Player[src]
impl From<Entity> for Playerimpl Copy for Player[src]
impl Copy for Playerimpl Clone for Player[src]
impl Clone for Playerfn clone(&self) -> Player[src]
fn clone(&self) -> PlayerReturns 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 Player[src]
impl Debug for Playerfn 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 Player[src]
impl Default for Playerimpl Eq for Player[src]
impl Eq for Playerimpl PartialEq for Player[src]
impl PartialEq for Playerfn eq(&self, other: &Player) -> bool[src]
fn eq(&self, other: &Player) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Player) -> bool[src]
fn ne(&self, other: &Player) -> boolThis method tests for !=.
impl Hash for Player[src]
impl Hash for Playerfn 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 From<u16> for Player[src]
impl From<u16> for Playerimpl From<Player> for u16[src]
impl From<Player> for u16impl Component for Player[src]
impl Component for Playertype Storage = DenseVecStorage<Self>
Associated storage type for this component.