pub struct AggregateState {Show 15 fields
pub aggregate_id: EntityId,
pub force_id: ForceId,
pub aggregate_state: AggregateStateAggregateState,
pub aggregate_type: AggregateType,
pub formation: AggregateStateFormation,
pub aggregate_marking: AggregateMarking,
pub dimensions: VectorF32,
pub orientation: Orientation,
pub center_of_mass: Location,
pub velocity: VectorF32,
pub aggregates: Vec<EntityId>,
pub entities: Vec<EntityId>,
pub silent_aggregate_systems: Vec<SilentAggregateSystem>,
pub silent_entity_systems: Vec<SilentEntitySystem>,
pub variable_datums: Vec<VariableDatum>,
}Expand description
5.9.2.2 Aggregate State PDU
7.8.2 Aggregate State PDU
Fields§
§aggregate_id: EntityId§force_id: ForceId§aggregate_state: AggregateStateAggregateState§aggregate_type: AggregateType§formation: AggregateStateFormation§aggregate_marking: AggregateMarking§dimensions: VectorF32§orientation: Orientation§center_of_mass: Location§velocity: VectorF32§aggregates: Vec<EntityId>§entities: Vec<EntityId>§silent_aggregate_systems: Vec<SilentAggregateSystem>§silent_entity_systems: Vec<SilentEntitySystem>§variable_datums: Vec<VariableDatum>Implementations§
Source§impl AggregateState
impl AggregateState
pub fn builder() -> AggregateStateBuilder
pub fn into_builder(self) -> AggregateStateBuilder
pub fn into_pdu_body(self) -> PduBody
Trait Implementations§
Source§impl BodyInfo for AggregateState
impl BodyInfo for AggregateState
Source§impl Clone for AggregateState
impl Clone for AggregateState
Source§fn clone(&self) -> AggregateState
fn clone(&self) -> AggregateState
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 moreSource§impl Debug for AggregateState
impl Debug for AggregateState
Source§impl Default for AggregateState
impl Default for AggregateState
Source§fn default() -> AggregateState
fn default() -> AggregateState
Returns the “default value” for a type. Read more
Source§impl Interaction for AggregateState
impl Interaction for AggregateState
Source§impl PartialEq for AggregateState
impl PartialEq for AggregateState
Source§impl SerializePdu for AggregateState
impl SerializePdu for AggregateState
fn serialize_pdu(&self, _version: SupportedVersion, buf: &mut BytesMut) -> u16
impl StructuralPartialEq for AggregateState
Auto Trait Implementations§
impl Freeze for AggregateState
impl RefUnwindSafe for AggregateState
impl Send for AggregateState
impl Sync for AggregateState
impl Unpin for AggregateState
impl UnwindSafe for AggregateState
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