[][src]Struct sbd_lib::mo::LocationInformation

pub struct LocationInformation { /* fields omitted */ }

Implementations

impl LocationInformation[src]

pub fn new(
    flags: u8,
    latitude: (u8, u16),
    longitude: (u8, u16),
    radius: Option<u32>
) -> LocationInformation
[src]

pub fn latitude(&self) -> f64[src]

pub fn longitude(&self) -> f64[src]

pub fn direction(&self) -> LocationDirection[src]

pub fn len(&self) -> usize[src]

pub fn write_to<W: Write>(&self, write: &mut W) -> Result<()>[src]

Trait Implementations

impl Clone for LocationInformation[src]

impl Copy for LocationInformation[src]

impl Debug for LocationInformation[src]

impl Display for LocationInformation[src]

impl Eq for LocationInformation[src]

impl From<LocationInformation> for InformationElement[src]

impl PartialEq<LocationInformation> for LocationInformation[src]

impl StructuralEq for LocationInformation[src]

impl StructuralPartialEq for LocationInformation[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.