pub struct FirePdu {
pub firing_entity_id: EntityId,
pub target_entity_id: EntityId,
pub munition_expendable_id: EntityId,
pub event_id: EventId,
pub fire_mission_index: u32,
pub location_in_world_coordinates: WorldCoordinate,
pub descriptor: MunitionDescriptor,
pub velocity: LinearVelocity,
pub range: f32,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.3.2
Fields§
§firing_entity_id: EntityId§target_entity_id: EntityId§munition_expendable_id: EntityId§event_id: EventId§fire_mission_index: u32§location_in_world_coordinates: WorldCoordinate§descriptor: MunitionDescriptor§velocity: LinearVelocity§range: f32Implementations§
Trait Implementations§
Source§impl Pdu for FirePdu
impl Pdu for FirePdu
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 FirePdu
impl RefUnwindSafe for FirePdu
impl Send for FirePdu
impl Sync for FirePdu
impl Unpin for FirePdu
impl UnwindSafe for FirePdu
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