pub struct Pvt {
pub fix_type: u8,
pub flags: u8,
pub num_sv: u8,
pub lat_e7: i32,
pub lon_e7: i32,
pub height_mm: i32,
pub hmsl_mm: i32,
pub pdop_centi: u16,
pub utc: Option<(u16, u8, u8, u8, u8, u8, i32)>,
}Expand description
NAV-PVT fields a test sets.
Fields§
§fix_type: u8fixType.
flags: u8flags byte (bit 0 gnssFixOK, bit 1 diffSoln, bits 6..7 carrSoln).
num_sv: u8Satellites used.
lat_e7: i32Latitude, 1e-7 degrees.
lon_e7: i32Longitude, 1e-7 degrees.
height_mm: i32Height above the ellipsoid, millimetres.
hmsl_mm: i32Height above mean sea level, millimetres.
pdop_centi: u16Position DOP, 0.01 units.
utc: Option<(u16, u8, u8, u8, u8, u8, i32)>(year, month, day, hour, min, sec, nano); None leaves time invalid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pvt
impl RefUnwindSafe for Pvt
impl Send for Pvt
impl Sync for Pvt
impl Unpin for Pvt
impl UnsafeUnpin for Pvt
impl UnwindSafe for Pvt
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