[][src]Struct genie_dat::MissileUnitType

pub struct MissileUnitType {
    pub missile_type: u8,
    pub targetting_type: u8,
    pub missile_hit_info: u8,
    pub missile_die_info: u8,
    pub area_effect_specials: u8,
    pub ballistics_ratio: f32,
    // some fields omitted
}

Fields

missile_type: u8targetting_type: u8missile_hit_info: u8missile_die_info: u8area_effect_specials: u8ballistics_ratio: f32

Implementations

impl MissileUnitType[src]

pub fn read_from(input: impl Read, version: f32) -> Result<Self>[src]

Read this unit type from an input stream.

pub fn write_to(&self, output: impl Write, version: f32) -> Result<()>[src]

Write this unit type to an output stream.

Methods from Deref<Target = BaseCombatUnitType>

pub fn write_to(&self, output: impl Write, version: f32) -> Result<()>[src]

Write this unit type to an output stream.

Trait Implementations

impl Clone for MissileUnitType[src]

impl Debug for MissileUnitType[src]

impl Default for MissileUnitType[src]

impl Deref for MissileUnitType[src]

type Target = BaseCombatUnitType

The resulting type after dereferencing.

impl From<MissileUnitType> for UnitType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.