Enum conrod::Place [−] [src]

pub enum Place {
    Middle,
    TopLeft,
    TopRight,
    BottomLeft,
    BottomRight,
    MidTop,
    MidBottom,
    MidLeft,
    MidRight,
}

Place the widget at a position on the Canvas.

Variants

Middle

Centre of the Canvas.

TopLeft

Top left of the Canvas - pad_top + pad_left.

TopRight

Top right of the Canvas - pad_top - pad_right.

BottomLeft

Bottom left of the Canvas + pad_bottom + pad_left.

BottomRight

Bottom right of the Canvas + pad_bottom - pad_right.

MidTop

Top centre of the Canvas - pad_top.

MidBottom

Bottom centre of the Canvas + pad_bottom.

MidLeft

Left centre of the Canvas + pad_left.

MidRight

Right centre of the Canvas - pad_right.

Trait Implementations

Derived Implementations

impl Eq for Place

impl PartialEq for Place

fn eq(&self, __arg_0: &Place) -> bool

fn ne(&self, __arg_0: &Place) -> bool

impl Decodable for Place

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Place, __D>

impl Encodable for Place

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>

impl Debug for Place

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

impl Clone for Place

fn clone(&self) -> Place

fn clone_from(&mut self, source: &Self)

impl Copy for Place