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]

Performs the conversion.

impl Copy for Mob
[src]

impl Clone for Mob
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mob
[src]

Formats the value using the given formatter. Read more

impl Default for Mob
[src]

Returns the "default value" for a type. Read more

impl Eq for Mob
[src]

impl PartialEq for Mob
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Mob
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Component for Mob
[src]

Associated storage type for this component.

Auto Trait Implementations

impl Send for Mob

impl Sync for Mob