Struct airmash_protocol::Player [−][src]
pub struct Player(pub u16);
A player ID
Trait Implementations
impl From<Entity> for Player
[src]
impl From<Entity> for Player
impl Copy for Player
[src]
impl Copy for Player
impl Clone for Player
[src]
impl Clone for Player
fn clone(&self) -> Player
[src]
fn clone(&self) -> Player
Returns 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 Player
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Player
[src]
impl Default for Player
impl Eq for Player
[src]
impl Eq for Player
impl PartialEq for Player
[src]
impl PartialEq for Player
fn eq(&self, other: &Player) -> bool
[src]
fn eq(&self, other: &Player) -> bool
This 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) -> bool
This method tests for !=
.
impl Hash for Player
[src]
impl Hash for Player
fn 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 Component for Player
[src]
impl Component for Player
type Storage = DenseVecStorage<Self>
Associated storage type for this component.