Enum airmash_protocol::MobType[][src]

pub enum MobType {
    PredatorMissile,
    GoliathMissile,
    MohawkMissile,
    Upgrade,
    TornadoSingleMissile,
    TornadoTripleMissile,
    ProwlerMissile,
    Shield,
    Inferno,
}

Types of all mobs present in the game.

In AIRMASH, mobs are any non-player and non-wall items that can be interacted with. This includes powerups, upgrades, and all missiles.

Used by:

  • TODO

Variants

Trait Implementations

impl Copy for MobType
[src]

impl Clone for MobType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MobType
[src]

Formats the value using the given formatter. Read more

impl Hash for MobType
[src]

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

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

impl Eq for MobType
[src]

impl PartialEq for MobType
[src]

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

This method tests for !=.

impl Component for MobType
[src]

Associated storage type for this component.

impl TryFrom<u8> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for u8
[src]

Performs the conversion.

impl TryFrom<u16> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for u16
[src]

Performs the conversion.

impl TryFrom<u32> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for u32
[src]

Performs the conversion.

impl TryFrom<i8> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for i8
[src]

Performs the conversion.

impl TryFrom<i16> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for i16
[src]

Performs the conversion.

impl TryFrom<i32> for MobType
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl From<MobType> for i32
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MobType

impl Sync for MobType