Enum nannou::ui::position::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 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<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Corner
[src]
impl Copy for Corner
impl Eq for Corner
[src]
impl Eq for Corner
impl PartialEq<Corner> for Corner
[src]
impl PartialEq<Corner> for Corner