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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.