pub struct ArealObjectStatePdu {Show 13 fields
pub pdu_header: PduHeader,
pub object_id: EntityId,
pub referenced_object_id: EntityId,
pub update_number: u16,
pub force_id: u8,
pub modifications: u8,
pub object_type: EntityType,
pub specific_object_appearance: u32,
pub general_object_appearance: ObjectStateAppearanceGeneral,
pub number_of_points: u16,
pub requester_id: SimulationAddress,
pub receiving_id: SimulationAddress,
pub object_location: Vec<Vector3Double>,
}Expand description
Implemented according to IEEE 1278.1-2012 §7.10.6
Fields§
§pdu_header: PduHeader§object_id: EntityId§referenced_object_id: EntityId§update_number: u16§force_id: u8§modifications: u8§object_type: EntityType§specific_object_appearance: u32§general_object_appearance: ObjectStateAppearanceGeneral§number_of_points: u16§requester_id: SimulationAddress§receiving_id: SimulationAddress§object_location: Vec<Vector3Double>Trait Implementations§
Source§impl Clone for ArealObjectStatePdu
impl Clone for ArealObjectStatePdu
Source§fn clone(&self) -> ArealObjectStatePdu
fn clone(&self) -> ArealObjectStatePdu
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 ArealObjectStatePdu
impl Debug for ArealObjectStatePdu
Source§impl Default for ArealObjectStatePdu
impl Default for ArealObjectStatePdu
Source§fn default() -> Self
fn default() -> Self
Creates a default Areal Object State PDU with arbitrary environmental process ID
§Examples
Initializing an Areal Object State PDU:
use open_dis_rust::synthetic_environment::areal_object_state_pdu::ArealObjectStatePdu;
let areal_object_state_pdu = ArealObjectStatePdu::default();Auto Trait Implementations§
impl Freeze for ArealObjectStatePdu
impl RefUnwindSafe for ArealObjectStatePdu
impl Send for ArealObjectStatePdu
impl Sync for ArealObjectStatePdu
impl Unpin for ArealObjectStatePdu
impl UnwindSafe for ArealObjectStatePdu
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