Struct rust_sc2::unit::PassengerUnit [−][src]
pub struct PassengerUnit {
pub tag: u64,
pub health: f32,
pub health_max: f32,
pub shield: f32,
pub shield_max: f32,
pub energy: f32,
pub energy_max: f32,
pub type_id: UnitTypeId,
}Unit inside transport or bunker. All passengers stored in passengers field.
Fields
tag: u64health: f32health_max: f32shield: f32shield_max: f32energy: f32energy_max: f32type_id: UnitTypeIdTrait Implementations
impl Clone for PassengerUnit[src]
impl Clone for PassengerUnit[src]fn clone(&self) -> PassengerUnit[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for PassengerUnit
impl RefUnwindSafe for PassengerUnitimpl Send for PassengerUnit
impl Send for PassengerUnitimpl Sync for PassengerUnit
impl Sync for PassengerUnitimpl Unpin for PassengerUnit
impl Unpin for PassengerUnitimpl UnwindSafe for PassengerUnit
impl UnwindSafe for PassengerUnit