pub struct Detonation {
pub source_entity_id: EntityId,
pub target_entity_id: EntityId,
pub exploding_entity_id: EntityId,
pub event_id: EventId,
pub velocity: VectorF32,
pub location_in_world_coordinates: Location,
pub descriptor: DescriptorRecord,
pub location_in_entity_coordinates: VectorF32,
pub detonation_result: DetonationResult,
pub variable_parameters: Vec<VariableParameter>,
}Fields§
§source_entity_id: EntityId§target_entity_id: EntityId§exploding_entity_id: EntityId§event_id: EventId§velocity: VectorF32§location_in_world_coordinates: Location§descriptor: DescriptorRecord§location_in_entity_coordinates: VectorF32§detonation_result: DetonationResult§variable_parameters: Vec<VariableParameter>Implementations§
Source§impl Detonation
impl Detonation
pub fn builder() -> DetonationBuilder
pub fn into_builder(self) -> DetonationBuilder
pub fn into_pdu_body(self) -> PduBody
Trait Implementations§
Source§impl BodyInfo for Detonation
impl BodyInfo for Detonation
Source§impl Clone for Detonation
impl Clone for Detonation
Source§fn clone(&self) -> Detonation
fn clone(&self) -> Detonation
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 Detonation
impl Debug for Detonation
Source§impl Default for Detonation
impl Default for Detonation
Source§fn default() -> Detonation
fn default() -> Detonation
Returns the “default value” for a type. Read more
Source§impl Interaction for Detonation
impl Interaction for Detonation
Source§impl PartialEq for Detonation
impl PartialEq for Detonation
Source§impl SerializePdu for Detonation
impl SerializePdu for Detonation
fn serialize_pdu(&self, _version: SupportedVersion, buf: &mut BytesMut) -> u16
impl StructuralPartialEq for Detonation
Auto Trait Implementations§
impl Freeze for Detonation
impl RefUnwindSafe for Detonation
impl Send for Detonation
impl Sync for Detonation
impl Unpin for Detonation
impl UnwindSafe for Detonation
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