Struct geohash::Rect [−][src]
pub struct Rect<T> where
T: CoordinateType, { pub min: Coordinate<T>, pub max: Coordinate<T>, }
Fields
min: Coordinate<T>
max: Coordinate<T>
Trait Implementations
impl<T> Clone for Rect<T> where
T: Clone + CoordinateType,
[src]
impl<T> Clone for Rect<T> where
T: Clone + CoordinateType,
fn clone(&self) -> Rect<T>
[src]
fn clone(&self) -> Rect<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Debug for Rect<T> where
T: Debug + CoordinateType,
[src]
impl<T> Debug for Rect<T> where
T: Debug + CoordinateType,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T> Copy for Rect<T> where
T: Copy + CoordinateType,
[src]
impl<T> Copy for Rect<T> where
T: Copy + CoordinateType,
impl<T> PartialEq<Rect<T>> for Rect<T> where
T: PartialEq<T> + CoordinateType,
[src]
impl<T> PartialEq<Rect<T>> for Rect<T> where
T: PartialEq<T> + CoordinateType,