Struct airmash_protocol::Mob [−][src]
pub struct Mob(pub u16);
A mob (missile, upgrade, or powerup) ID
Trait Implementations
impl From<Entity> for Mob
[src]
impl From<Entity> for Mob
impl Copy for Mob
[src]
impl Copy for Mob
impl Clone for Mob
[src]
impl Clone for Mob
fn clone(&self) -> Mob
[src]
fn clone(&self) -> Mob
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 Mob
[src]
impl Debug for Mob
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 Mob
[src]
impl Default for Mob
impl Eq for Mob
[src]
impl Eq for Mob
impl PartialEq for Mob
[src]
impl PartialEq for Mob
fn eq(&self, other: &Mob) -> bool
[src]
fn eq(&self, other: &Mob) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Mob) -> bool
[src]
fn ne(&self, other: &Mob) -> bool
This method tests for !=
.
impl Hash for Mob
[src]
impl Hash for Mob
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 Mob
[src]
impl Component for Mob
type Storage = DenseVecStorage<Self>
Associated storage type for this component.