pub struct Designator {
pub designating_entity_id: EntityId,
pub system_name: DesignatorSystemName,
pub designated_entity_id: EntityId,
pub code: DesignatorCode,
pub power: f32,
pub wavelength: f32,
pub spot_wrt_designated_entity: VectorF32,
pub spot_location: Location,
pub dead_reckoning_algorithm: DeadReckoningAlgorithm,
pub linear_acceleration: VectorF32,
}Expand description
5.7.4 Designator PDU
7.6.3 Designator PDU
Fields§
§designating_entity_id: EntityId§system_name: DesignatorSystemName§designated_entity_id: EntityId§code: DesignatorCode§power: f32§wavelength: f32§spot_wrt_designated_entity: VectorF32§spot_location: Location§dead_reckoning_algorithm: DeadReckoningAlgorithm§linear_acceleration: VectorF32Implementations§
Source§impl Designator
impl Designator
pub fn builder() -> DesignatorBuilder
pub fn into_builder(self) -> DesignatorBuilder
pub fn into_pdu_body(self) -> PduBody
Trait Implementations§
Source§impl BodyInfo for Designator
impl BodyInfo for Designator
Source§impl Clone for Designator
impl Clone for Designator
Source§fn clone(&self) -> Designator
fn clone(&self) -> Designator
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 Designator
impl Debug for Designator
Source§impl Default for Designator
impl Default for Designator
Source§fn default() -> Designator
fn default() -> Designator
Returns the “default value” for a type. Read more
Source§impl Interaction for Designator
impl Interaction for Designator
Source§impl PartialEq for Designator
impl PartialEq for Designator
Source§impl SerializePdu for Designator
impl SerializePdu for Designator
fn serialize_pdu(&self, _version: SupportedVersion, buf: &mut BytesMut) -> u16
impl StructuralPartialEq for Designator
Auto Trait Implementations§
impl Freeze for Designator
impl RefUnwindSafe for Designator
impl Send for Designator
impl Sync for Designator
impl Unpin for Designator
impl UnwindSafe for Designator
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