[][src]Struct geomatic::Point

pub struct Point<C: Crs> {
    pub coords: (f64, f64),
    // some fields omitted
}

Fields

coords: (f64, f64)

Implementations

impl<C: Crs> Point<C>[src]

pub fn new(a: f64, b: f64) -> Self[src]

impl Point<Crs4326>[src]

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

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

impl Point<Crs3035>[src]

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

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

Trait Implementations

impl<C: Clone + Crs> Clone for Point<C>[src]

impl<C: Copy + Crs> Copy for Point<C>[src]

impl<C: Debug + Crs> Debug for Point<C>[src]

impl<C: Crs> Display for Point<C>[src]

Auto Trait Implementations

impl<C> RefUnwindSafe for Point<C> where
    C: RefUnwindSafe

impl<C> Send for Point<C> where
    C: Send

impl<C> Sync for Point<C> where
    C: Sync

impl<C> Unpin for Point<C> where
    C: Unpin

impl<C> UnwindSafe for Point<C> where
    C: UnwindSafe

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.