[−][src]Struct sbd_lib::mo::LocationInformation
Implementations
impl LocationInformation
[src]
pub fn new(
flags: u8,
latitude: (u8, u16),
longitude: (u8, u16),
radius: Option<u32>
) -> LocationInformation
[src]
flags: u8,
latitude: (u8, u16),
longitude: (u8, u16),
radius: Option<u32>
) -> LocationInformation
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]
fn clone(&self) -> LocationInformation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(location: LocationInformation) -> Self
[src]
impl PartialEq<LocationInformation> for LocationInformation
[src]
fn eq(&self, other: &LocationInformation) -> bool
[src]
fn ne(&self, other: &LocationInformation) -> bool
[src]
impl StructuralEq for LocationInformation
[src]
impl StructuralPartialEq for LocationInformation
[src]
Auto Trait Implementations
impl RefUnwindSafe for LocationInformation
impl Send for LocationInformation
impl Sync for LocationInformation
impl Unpin for LocationInformation
impl UnwindSafe for LocationInformation
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,