Enum conrod::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 Eq for Corner
[src]

impl PartialEq for Corner
[src]

fn eq(&self, __arg_0: &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

This method tests for !=.

impl Debug for Corner
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Corner
[src]

fn clone(&self) -> Corner

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

impl Copy for Corner
[src]