pub struct BodData {
pub bearing_true: Option<f32>,
pub bearing_magnetic: Option<f32>,
pub to_waypoint: Option<ArrayString<TEXT_PARAMETER_MAX_LEN>>,
pub from_waypoint: Option<ArrayString<TEXT_PARAMETER_MAX_LEN>>,
}
Expand description
BOD - Bearing - Waypoint to Waypoint
https://gpsd.gitlab.io/gpsd/NMEA.html#_bod_bearing_waypoint_to_waypoint
1 2 3 4 5 6 7
| | | | | | |
$--BOD,x.x,T,x.x,M,c--c,c--c*hh<CR><LF>
Fields§
§bearing_true: Option<f32>
§bearing_magnetic: Option<f32>
§to_waypoint: Option<ArrayString<TEXT_PARAMETER_MAX_LEN>>
§from_waypoint: Option<ArrayString<TEXT_PARAMETER_MAX_LEN>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for BodData
impl<'de> Deserialize<'de> for BodData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BodData> for BodData
impl PartialEq<BodData> for BodData
impl Copy for BodData
impl StructuralPartialEq for BodData
Auto Trait Implementations§
impl RefUnwindSafe for BodData
impl Send for BodData
impl Sync for BodData
impl Unpin for BodData
impl UnwindSafe for BodData
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