Enum rs_es::units::GeoBox [] [src]

pub enum GeoBox {
    Corners(LocationLocation),
    Vertices(f64f64f64f64),
}

Representing a geographic box

Variants

Corners(LocationLocation)Vertices(f64f64f64f64)

Trait Implementations

impl Debug for GeoBox
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for GeoBox
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl Deserialize for GeoBox
[src]

fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.

impl From<(Location, Location)> for GeoBox
[src]

fn from(from: (Location, Location)) -> GeoBox

Performs the conversion.

impl From<((f64, f64), (f64, f64))> for GeoBox
[src]

fn from(from: ((f64, f64), (f64, f64))) -> GeoBox

Performs the conversion.

impl From<(f64, f64, f64, f64)> for GeoBox
[src]

fn from(from: (f64, f64, f64, f64)) -> GeoBox

Performs the conversion.

impl Serialize for GeoBox
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.