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
PredatorMissileGoliathMissileMohawkMissileUpgradeTornadoSingleMissileTornadoTripleMissileProwlerMissileShieldInferno
Trait Implementations
impl Copy for MobType[src]
impl Copy for MobTypeimpl Clone for MobType[src]
impl Clone for MobTypefn clone(&self) -> MobType[src]
fn clone(&self) -> MobTypeReturns 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)Performs copy-assignment from source. Read more
impl Debug for MobType[src]
impl Debug for MobTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for MobType[src]
impl Hash for MobTypefn 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, Feeds a slice of this type into the given [Hasher]. Read more
impl Eq for MobType[src]
impl Eq for MobTypeimpl PartialEq for MobType[src]
impl PartialEq for MobTypefn eq(&self, other: &MobType) -> bool[src]
fn eq(&self, other: &MobType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Component for MobType[src]
impl Component for MobTypetype Storage = DenseVecStorage<Self>
Associated storage type for this component.
impl TryFrom<u8> for MobType[src]
impl TryFrom<u8> for MobTypetype Error = EnumValueOutOfRangeError<u8>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u8) -> Result<Self, Self::Error>[src]
fn try_from(v: u8) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for u8[src]
impl From<MobType> for u8impl TryFrom<u16> for MobType[src]
impl TryFrom<u16> for MobTypetype Error = EnumValueOutOfRangeError<u16>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u16) -> Result<Self, Self::Error>[src]
fn try_from(v: u16) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for u16[src]
impl From<MobType> for u16impl TryFrom<u32> for MobType[src]
impl TryFrom<u32> for MobTypetype Error = EnumValueOutOfRangeError<u32>
try_from)The type returned in the event of a conversion error.
fn try_from(v: u32) -> Result<Self, Self::Error>[src]
fn try_from(v: u32) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for u32[src]
impl From<MobType> for u32impl TryFrom<i8> for MobType[src]
impl TryFrom<i8> for MobTypetype Error = EnumValueOutOfRangeError<i8>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i8) -> Result<Self, Self::Error>[src]
fn try_from(v: i8) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for i8[src]
impl From<MobType> for i8impl TryFrom<i16> for MobType[src]
impl TryFrom<i16> for MobTypetype Error = EnumValueOutOfRangeError<i16>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i16) -> Result<Self, Self::Error>[src]
fn try_from(v: i16) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for i16[src]
impl From<MobType> for i16impl TryFrom<i32> for MobType[src]
impl TryFrom<i32> for MobTypetype Error = EnumValueOutOfRangeError<i32>
try_from)The type returned in the event of a conversion error.
fn try_from(v: i32) -> Result<Self, Self::Error>[src]
fn try_from(v: i32) -> Result<Self, Self::Error>try_from)Performs the conversion.
impl From<MobType> for i32[src]
impl From<MobType> for i32