Struct geo_types::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: PartialEq> PartialEq for Rect<T> where
T: CoordinateType,
[src]
impl<T: PartialEq> PartialEq for Rect<T> where
T: CoordinateType,
fn eq(&self, other: &Rect<T>) -> bool
[src]
fn eq(&self, other: &Rect<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rect<T>) -> bool
[src]
fn ne(&self, other: &Rect<T>) -> bool
This method tests for !=
.
impl<T: Clone> Clone for Rect<T> where
T: CoordinateType,
[src]
impl<T: Clone> Clone for Rect<T> where
T: 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: Copy> Copy for Rect<T> where
T: CoordinateType,
[src]
impl<T: Copy> Copy for Rect<T> where
T: CoordinateType,
impl<T: Debug> Debug for Rect<T> where
T: CoordinateType,
[src]
impl<T: Debug> Debug for Rect<T> where
T: CoordinateType,