Enum nannou::geom::rect::Corner [−][src]
pub enum Corner { TopLeft, TopRight, BottomLeft, BottomRight, }
Either of the four corners of a Rect.
Variants
TopLeft
The top left corner of a Rect.
TopRight
The top right corner of a Rect.
BottomLeft
The bottom left corner of a Rect.
BottomRight
The bottom right corner of a Rect.
Trait Implementations
impl Copy for Corner
[src]
impl Copy for Corner
impl Clone for Corner
[src]
impl Clone for Corner
fn clone(&self) -> Corner
[src]
fn clone(&self) -> Corner
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 Debug for Corner
[src]
impl Debug for Corner
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Corner
[src]
impl PartialEq for Corner
fn eq(&self, other: &Corner) -> bool
[src]
fn eq(&self, other: &Corner) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Corner
[src]
impl Eq for Corner