Enum conrod::Position
[−]
[src]
pub enum Position { Absolute(Scalar, Scalar), Relative(Scalar, Scalar, Option<Index>), Direction(Direction, Scalar, Option<Index>), Place(Place, Option<Index>), }
A cached widget's position for rendering.
Variants
Absolute(Scalar, Scalar)
A specific position.
Relative(Scalar, Scalar, Option<Index>)
A position relative to some other Widget.
Direction(Direction, Scalar, Option<Index>)
A direction relative to some other Widget.
Place(Place, Option<Index>)
A position at a place on some other Widget.
Methods
impl Position
[src]
Trait Implementations
impl Decodable for Position
[src]
impl Encodable for Position
[src]
impl PartialEq for Position
[src]
fn eq(&self, __arg_0: &Position) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Position) -> bool
This method tests for !=
.
impl Debug for Position
[src]
impl Clone for Position
[src]
fn clone(&self) -> Position
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