pub struct CompactUnitType {
pub unit_base_class: UnitBaseClass,
pub static_: StaticUnitAttributes,
pub animated: Option<AnimatedUnitAttributes>,
pub moving: Option<MovingUnitAttributes>,
pub action: Option<ActionUnitAttributes>,
pub base_combat: Option<BaseCombatUnitAttributes>,
pub missile: Option<MissileUnitAttributes>,
pub combat: Option<CombatUnitAttributes>,
pub building: Option<BuildingUnitAttributes>,
}
Fields§
§unit_base_class: UnitBaseClass
§static_: StaticUnitAttributes
§animated: Option<AnimatedUnitAttributes>
§moving: Option<MovingUnitAttributes>
§action: Option<ActionUnitAttributes>
§base_combat: Option<BaseCombatUnitAttributes>
§missile: Option<MissileUnitAttributes>
§combat: Option<CombatUnitAttributes>
§building: Option<BuildingUnitAttributes>
Implementations§
Trait Implementations§
Source§impl Clone for CompactUnitType
impl Clone for CompactUnitType
Source§fn clone(&self) -> CompactUnitType
fn clone(&self) -> CompactUnitType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CompactUnitType
impl RefUnwindSafe for CompactUnitType
impl Send for CompactUnitType
impl Sync for CompactUnitType
impl Unpin for CompactUnitType
impl UnwindSafe for CompactUnitType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more