pub struct HnrPvtRef<'a>(/* private fields */);
Expand description
Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> HnrPvtRef<'a>
impl<'a> HnrPvtRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn valid(&self) -> HnrPvtValidFlags
pub fn valid(&self) -> HnrPvtValidFlags
sourcepub fn gps_fix_raw(&self) -> u8
pub fn gps_fix_raw(&self) -> u8
sourcepub fn flags(&self) -> HnrPvtFlags
pub fn flags(&self) -> HnrPvtFlags
sourcepub fn longitude_raw(&self) -> i32
pub fn longitude_raw(&self) -> i32
sourcepub fn latitude_raw(&self) -> i32
pub fn latitude_raw(&self) -> i32
sourcepub fn height_above_ellipsoid_raw(&self) -> i32
pub fn height_above_ellipsoid_raw(&self) -> i32
sourcepub fn height_above_ellipsoid(&self) -> f64
pub fn height_above_ellipsoid(&self) -> f64
sourcepub fn height_msl_raw(&self) -> i32
pub fn height_msl_raw(&self) -> i32
sourcepub fn height_msl(&self) -> f64
pub fn height_msl(&self) -> f64
sourcepub fn ground_speed_2d_raw(&self) -> i32
pub fn ground_speed_2d_raw(&self) -> i32
sourcepub fn ground_speed_2d(&self) -> f64
pub fn ground_speed_2d(&self) -> f64
sourcepub fn speed_3d_raw(&self) -> i32
pub fn speed_3d_raw(&self) -> i32
sourcepub fn heading_motion_raw(&self) -> i32
pub fn heading_motion_raw(&self) -> i32
sourcepub fn heading_motion(&self) -> f64
pub fn heading_motion(&self) -> f64
sourcepub fn heading_vehicle_raw(&self) -> i32
pub fn heading_vehicle_raw(&self) -> i32
sourcepub fn heading_vehicle(&self) -> f64
pub fn heading_vehicle(&self) -> f64
sourcepub fn heading_accurracy_raw(&self) -> u32
pub fn heading_accurracy_raw(&self) -> u32
sourcepub fn heading_accurracy(&self) -> f64
pub fn heading_accurracy(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HnrPvtRef<'a>
impl<'a> Send for HnrPvtRef<'a>
impl<'a> Sync for HnrPvtRef<'a>
impl<'a> Unpin for HnrPvtRef<'a>
impl<'a> UnwindSafe for HnrPvtRef<'a>
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