[][src]Struct google_maps::Bounds

pub struct Bounds {
    pub southwest: LatLng,
    pub northeast: LatLng,
}

Contains the recommended viewport for displaying the returned result, specified as two latitude & longitude values defining the southwest and northeast corner of the viewport bounding box. Generally the viewport is used to frame a result when displaying it to a user.

Fields

southwest: LatLng

South-west or bottom-left corner of the bounding box.

northeast: LatLng

North-east or top-right corner of the bounding box.

Trait Implementations

impl Clone for Bounds[src]

impl Debug for Bounds[src]

impl<'de> Deserialize<'de> for Bounds[src]

impl Eq for Bounds[src]

impl<'_> From<&'_ Bounds> for String[src]

fn from(bounds: &Bounds) -> String[src]

Converts a Bounds struct to a String that contains two latitude & longitude pairs that represent a bounding box.

impl Hash for Bounds[src]

impl Ord for Bounds[src]

impl PartialEq<Bounds> for Bounds[src]

impl PartialOrd<Bounds> for Bounds[src]

impl Serialize for Bounds[src]

impl StructuralEq for Bounds[src]

impl StructuralPartialEq for Bounds[src]

Auto Trait Implementations

impl RefUnwindSafe for Bounds

impl Send for Bounds

impl Sync for Bounds

impl Unpin for Bounds

impl UnwindSafe for Bounds

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,