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

pub enum GeoBox {
    Corners(Location, Location),
    Vertices(f64, f64, f64, f64),
}

Representing a geographic box

Variants

Corners
Vertices

Trait Implementations

impl<'a> From<&'a Json> for GeoBox

fn from(from: &'a Json) -> GeoBox

impl From<(Location, Location)> for GeoBox

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

impl From<((f64, f64), (f64, f64))> for GeoBox

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

impl From<(f64, f64, f64, f64)> for GeoBox

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

impl ToJson for GeoBox

fn to_json(&self) -> Json

Derived Implementations

impl Debug for GeoBox

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