pub struct ArealObjectStatePdu {
pub object_id: ObjectIdentifier,
pub referenced_object_id: ObjectIdentifier,
pub update_number: u16,
pub force_id: ForceId,
pub modifications: u8,
pub object_type: ObjectType,
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<WorldCoordinate>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.10.6
Fields§
§object_id: ObjectIdentifier§referenced_object_id: ObjectIdentifier§update_number: u16§force_id: ForceId§modifications: u8§object_type: ObjectType§specific_object_appearance: u32§general_object_appearance: ObjectStateAppearanceGeneral§number_of_points: u16§requester_id: SimulationAddress§receiving_id: SimulationAddress§object_location: Vec<WorldCoordinate>Implementations§
Trait Implementations§
Source§impl Debug for ArealObjectStatePdu
impl Debug for ArealObjectStatePdu
Source§impl Default for ArealObjectStatePdu
impl Default for ArealObjectStatePdu
Source§impl Pdu for ArealObjectStatePdu
impl Pdu for ArealObjectStatePdu
type Header = PduHeader
fn header(&self) -> &Self::Header
fn header_mut(&mut self) -> &mut Self::Header
Source§fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
Source§fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
fn as_any(&self) -> &dyn Any
fn finalize(&mut self)
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