Enum conrod::position::Position [] [src]

pub enum Position {

Some Position of some Widget along a single axis.

Positions for both the x and y axes are stored internally within the widget::CommonBuilder type, allowing all widgets to be positioned in a variety of different ways.

See the Positionable trait for methods that allow for setting the Positions in various ways.

Note that Positionable is implemented for all types that implement Widget.


A specific position.

A position relative to some other Widget.

Trait Implementations

impl Copy for Position

impl Clone for Position


Returns a copy of the value. Read more


Performs copy-assignment from source. Read more

impl Debug for Position


Formats the value using the given formatter. Read more

impl PartialEq for Position


This method tests for self and other values to be equal, and is used by ==. Read more


This method tests for !=.

Auto Trait Implementations

impl Send for Position

impl Sync for Position