[−][src]Struct genie_dat::MovingUnitType
Fields
move_sprite: Option<SpriteID>
run_sprite: Option<SpriteID>
turn_speed: f32
size_class: u8
trailing_unit: Option<UnitTypeID>
trailing_options: u8
trailing_spacing: f32
move_algorithm: u8
turn_radius: f32
turn_radius_speed: f32
maximum_yaw_per_second_moving: f32
stationary_yaw_revolution_time: f32
maximum_yaw_per_second_stationary: f32
Implementations
impl MovingUnitType
[src]
pub fn read_from(input: impl Read, version: f32) -> Result<Self>
[src]
pub fn write_to(&self, output: impl Write, version: f32) -> Result<()>
[src]
Write this unit type to an output stream.
Methods from Deref<Target = AnimatedUnitType>
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 MovingUnitType
[src]
fn clone(&self) -> MovingUnitType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MovingUnitType
[src]
impl Default for MovingUnitType
[src]
fn default() -> MovingUnitType
[src]
impl Deref for MovingUnitType
[src]
type Target = AnimatedUnitType
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl From<MovingUnitType> for UnitType
[src]
fn from(v: MovingUnitType) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for MovingUnitType
impl Send for MovingUnitType
impl Sync for MovingUnitType
impl Unpin for MovingUnitType
impl UnwindSafe for MovingUnitType
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>,