[−][src]Struct genie_dat::MissileUnitType
Fields
missile_type: u8
targetting_type: u8
missile_hit_info: u8
missile_die_info: u8
area_effect_specials: u8
ballistics_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]
fn clone(&self) -> MissileUnitType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MissileUnitType
[src]
impl Default for MissileUnitType
[src]
fn default() -> MissileUnitType
[src]
impl Deref for MissileUnitType
[src]
type Target = BaseCombatUnitType
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl From<MissileUnitType> for UnitType
[src]
fn from(v: MissileUnitType) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for MissileUnitType
impl Send for MissileUnitType
impl Sync for MissileUnitType
impl Unpin for MissileUnitType
impl UnwindSafe for MissileUnitType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,