[−][src]Struct nmea0183::coords::Latitude
Latitude as reported by receiver.
Fields
degrees: u8
Degrees
minutes: u8
Minutes
seconds: f32
Seconds. Precision depends on receiver.
hemisphere: Hemisphere
Earth hemisphere. North or south.
Methods
impl Latitude
[src]
pub fn as_f64(&self) -> f64
[src]
Return latitude in degrees f64 value. Negative for South hemisphere, positive for North.
pub fn is_north(&self) -> bool
[src]
Is north hemisphere
pub fn is_south(&self) -> bool
[src]
Is south hemisphere
Trait Implementations
impl PartialEq<Latitude> for Latitude
[src]
impl Debug for Latitude
[src]
impl TryFrom<f32> for Latitude
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(value: f32) -> Result<Self, Self::Error>
[src]
impl TryFrom<f64> for Latitude
[src]
Auto Trait Implementations
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,