[−][src]Struct mynewt::hw::sensor::sensor_geolocation_data
Represents a GPS Geolocation. TODO: Must sync with libs/custom_sensor/include/custom_sensor/custom_sensor.h
Fields
sgd_latitude: f64
Latitude (degrees)
sgd_longitude: f64
Longitude (degrees)
sgd_altitude: f64
Altitude (metres)
sgd_latitude_is_valid: u8
1 if latitude is valid
sgd_longitude_is_valid: u8
1 if longitude is valid
sgd_altitude_is_valid: u8
1 if altitude is valid
Auto Trait Implementations
impl Send for sensor_geolocation_data
impl Sync for sensor_geolocation_data
impl Unpin for sensor_geolocation_data
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,