Struct airmash_protocol::Mob[][src]

pub struct Mob(pub u16);

A mob (missile, upgrade, or powerup) ID

Methods

impl Mob
[src]

Trait Implementations

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 From<u16> for Mob
[src]

Performs the conversion.

impl From<Mob> for u16
[src]

Performs the conversion.

impl Serialize for Mob
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Mob
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Mob

impl Sync for Mob