[][src]Struct nmea0183_core::types::longitude::Longitude

pub struct Longitude(pub i32);

Implementations

impl Longitude[src]

pub fn degrees(self) -> u8[src]

pub fn minutes(self) -> u8[src]

pub fn seconds(self) -> u8[src]

pub fn sub_seconds(self) -> u16[src]

pub fn is_east(self) -> bool[src]

pub fn is_west(self) -> bool[src]

Trait Implementations

impl Clone for Longitude[src]

impl Copy for Longitude[src]

impl Debug for Longitude[src]

impl Default for Longitude[src]

impl Display for Longitude[src]

impl<'_> From<&'_ [u8]> for Longitude[src]

impl PartialEq<Longitude> for Longitude[src]

impl StructuralPartialEq for Longitude[src]

Auto Trait Implementations

impl Send for Longitude

impl Sync for Longitude

impl Unpin for Longitude

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.