[][src]Struct no_proto::pointer::geo::NP_Geo_Bytes

pub struct NP_Geo_Bytes {
    pub size: u8,
    pub lat: Vec<u8>,
    pub lng: Vec<u8>,
}

Allows you to efficiently retrieve just the bytes of the geographic coordinate

Fields

size: u8

Size of this coordinate: 4, 8 or 16

lat: Vec<u8>

latitude bytes

lng: Vec<u8>

longitude bytes

Implementations

impl NP_Geo_Bytes[src]

pub fn into_geo(self) -> Option<NP_Geo>[src]

Get the actual geographic coordinate for these bytes

Trait Implementations

impl Debug for NP_Geo_Bytes[src]

impl Default for NP_Geo_Bytes[src]

impl Eq for NP_Geo_Bytes[src]

impl PartialEq<NP_Geo_Bytes> for NP_Geo_Bytes[src]

impl StructuralEq for NP_Geo_Bytes[src]

impl StructuralPartialEq for NP_Geo_Bytes[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, 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.