Struct rusttype::Rect
[−]
[src]
pub struct Rect<N> { pub min: Point<N>, pub max: Point<N>, }
A rectangle, with top-left corner at min
, and bottom-right corner at max
.
Fields
min: Point<N>
max: Point<N>
Methods
impl<N: Sub<Output=N> + Copy> Rect<N>
[src]
Trait Implementations
impl<N: Debug> Debug for Rect<N>
[src]
impl<N: Clone> Clone for Rect<N>
[src]
fn clone(&self) -> Rect<N>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more