pub struct TargetPoint {
pub latitude: f64,
pub longitude: f64,
pub name: Option<String>,
}Expand description
Navigation target point.
When set, the radio displays bearing and distance from the current
GPS position to the target point. The firmware outputs $GPWPL NMEA
sentences for waypoint data (handler at 0xC00D0FA0).
Fields§
§latitude: f64Target latitude in decimal degrees (positive = North).
longitude: f64Target longitude in decimal degrees (positive = East).
name: Option<String>Optional descriptive name for the target.
Trait Implementations§
Source§impl Clone for TargetPoint
impl Clone for TargetPoint
Source§fn clone(&self) -> TargetPoint
fn clone(&self) -> TargetPoint
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 TargetPoint
impl Debug for TargetPoint
Source§impl PartialEq for TargetPoint
impl PartialEq for TargetPoint
impl StructuralPartialEq for TargetPoint
Auto Trait Implementations§
impl Freeze for TargetPoint
impl RefUnwindSafe for TargetPoint
impl Send for TargetPoint
impl Sync for TargetPoint
impl Unpin for TargetPoint
impl UnwindSafe for TargetPoint
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