pub struct PointObjectStatePdu {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: ObjectType,
pub object_location: Vector3Double,
pub object_orientation: EulerAngles,
pub object_appearance: f64,
pub requester_id: SimulationAddress,
pub receiving_id: SimulationAddress,
pub pad2: u32,
}
Expand description
Implemented according to IEEE 1278.1-2012 §7.10.4
Fields§
§pdu_header: PduHeader
§object_id: EntityId
§referenced_object_id: EntityId
§update_number: u16
§force_id: u8
§modifications: u8
§object_type: ObjectType
§object_location: Vector3Double
§object_orientation: EulerAngles
§object_appearance: f64
§requester_id: SimulationAddress
§receiving_id: SimulationAddress
§pad2: u32
Trait Implementations§
Source§impl Clone for PointObjectStatePdu
impl Clone for PointObjectStatePdu
Source§fn clone(&self) -> PointObjectStatePdu
fn clone(&self) -> PointObjectStatePdu
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 PointObjectStatePdu
impl Debug for PointObjectStatePdu
Source§impl Default for PointObjectStatePdu
impl Default for PointObjectStatePdu
Source§fn default() -> Self
fn default() -> Self
Creates a default Point Object State PDU with arbitrary environmental process ID
§Examples
Initializing a Point Object State PDU:
use open_dis_rust::synthetic_environment::point_object_state_pdu::PointObjectStatePdu;
let point_object_state_pdu = PointObjectStatePdu::default();
Auto Trait Implementations§
impl Freeze for PointObjectStatePdu
impl RefUnwindSafe for PointObjectStatePdu
impl Send for PointObjectStatePdu
impl Sync for PointObjectStatePdu
impl Unpin for PointObjectStatePdu
impl UnwindSafe for PointObjectStatePdu
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