Struct proj::Area[][src]

pub struct Area {
    pub north: f64,
    pub south: f64,
    pub east: f64,
    pub west: f64,
}

The bounding box of an area of use

In the case of an area of use crossing the antimeridian (longitude +/- 180 degrees), west must be greater than east.

Fields

north: f64south: f64east: f64west: f64

Implementations

impl Area[src]

pub fn new(west: f64, south: f64, east: f64, north: f64) -> Self[src]

Create a new Area

Note: In the case of an area of use crossing the antimeridian (longitude +/- 180 degrees), west must be greater than east.

Trait Implementations

impl Clone for Area[src]

impl Copy for Area[src]

impl Debug for Area[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> Instrument for T[src]

impl<T> Instrument 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, 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.