Struct dis_rs::EntityState 
source · pub struct EntityState {
    pub entity_id: EntityId,
    pub force_id: ForceId,
    pub entity_type: EntityType,
    pub alternative_entity_type: EntityType,
    pub entity_linear_velocity: VectorF32,
    pub entity_location: Location,
    pub entity_orientation: Orientation,
    pub entity_appearance: EntityAppearance,
    pub dead_reckoning_parameters: DrParameters,
    pub entity_marking: EntityMarking,
    pub entity_capabilities: EntityCapabilities,
    pub variable_parameters: Vec<VariableParameter>,
}Fields
entity_id: EntityIdforce_id: ForceIdentity_type: EntityTypealternative_entity_type: EntityTypeentity_linear_velocity: VectorF32entity_location: Locationentity_orientation: Orientationentity_appearance: EntityAppearancedead_reckoning_parameters: DrParametersentity_marking: EntityMarkingentity_capabilities: EntityCapabilitiesvariable_parameters: Vec<VariableParameter>Implementations
sourceimpl EntityState
 
impl EntityState
pub fn new(
    entity_id: EntityId,
    force_id: ForceId,
    entity_type: EntityType
) -> Self
pub fn with_alternative_entity_type(self, entity_type: EntityType) -> Self
pub fn with_velocity(self, velocity: VectorF32) -> Self
pub fn with_location(self, location: Location) -> Self
pub fn with_orientation(self, orientation: Orientation) -> Self
pub fn with_appearance(self, appearance: EntityAppearance) -> Self
pub fn with_dead_reckoning_parameters(self, parameters: DrParameters) -> Self
pub fn with_marking(self, marking: EntityMarking) -> Self
pub fn with_capabilities(self, capabilities: EntityCapabilities) -> Self
pub fn with_capabilities_flags(
    self,
    ammunition_supply: bool,
    fuel_supply: bool,
    recovery: bool,
    repair: bool
) -> Self
pub fn with_variable_parameter(self, parameter: VariableParameter) -> Self
pub fn with_variable_parameters(self, parameters: Vec<VariableParameter>) -> Self
pub fn as_pdu_body(self) -> PduBody
Auto Trait Implementations
impl RefUnwindSafe for EntityState
impl Send for EntityState
impl Sync for EntityState
impl Unpin for EntityState
impl UnwindSafe for EntityState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more