[][src]Struct geocoding::InputBounds

pub struct InputBounds<T> where
    T: Float
{ pub minimum_lonlat: Point<T>, pub maximum_lonlat: Point<T>, }

Used to specify a bounding box to search within when forward-geocoding

  • minimum refers to the bottom-left or south-west corner of the bounding box
  • maximum refers to the top-right or north-east corner of the bounding box.

Fields

minimum_lonlat: Point<T>maximum_lonlat: Point<T>

Implementations

impl<T> InputBounds<T> where
    T: Float
[src]

pub fn new<U>(minimum_lonlat: U, maximum_lonlat: U) -> InputBounds<T> where
    U: Into<Point<T>>, 
[src]

Create a new InputBounds struct by passing 2 Points defining:

  • minimum (bottom-left) longitude and latitude coordinates
  • maximum (top-right) longitude and latitude coordinates

Trait Implementations

impl<T: Clone> Clone for InputBounds<T> where
    T: Float
[src]

impl<T: Copy> Copy for InputBounds<T> where
    T: Float
[src]

impl<T: Debug> Debug for InputBounds<T> where
    T: Float
[src]

impl<T> From<InputBounds<T>> for String where
    T: Float
[src]

Convert borrowed input bounds into the correct String representation

Auto Trait Implementations

impl<T> RefUnwindSafe for InputBounds<T> where
    T: RefUnwindSafe

impl<T> Send for InputBounds<T> where
    T: Send

impl<T> Sync for InputBounds<T> where
    T: Sync

impl<T> Unpin for InputBounds<T> where
    T: Unpin

impl<T> UnwindSafe for InputBounds<T> where
    T: 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, 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.