pub struct EntityDamageStatusPdu {
pub damaged_entity_id: EntityId,
pub number_of_damage_descriptions: u16,
pub damage_descriptions: Vec<DirectedEnergyDamage>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.3.5
Fields§
§damaged_entity_id: EntityId§number_of_damage_descriptions: u16§damage_descriptions: Vec<DirectedEnergyDamage>Implementations§
Trait Implementations§
Source§impl Debug for EntityDamageStatusPdu
impl Debug for EntityDamageStatusPdu
Source§impl Default for EntityDamageStatusPdu
impl Default for EntityDamageStatusPdu
Source§impl Pdu for EntityDamageStatusPdu
impl Pdu for EntityDamageStatusPdu
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 EntityDamageStatusPdu
impl RefUnwindSafe for EntityDamageStatusPdu
impl Send for EntityDamageStatusPdu
impl Sync for EntityDamageStatusPdu
impl Unpin for EntityDamageStatusPdu
impl UnwindSafe for EntityDamageStatusPdu
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