Enum conrod_core::position::Position
source · [−]Expand description
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.
Variants
Absolute(Scalar)
A specific position.
Relative(Relative, Option<Id>)
A position relative to some other Widget.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Position
impl UnwindSafe for Position
Blanket Implementations
Mutably borrows from an owned value. Read more