Enum conrod::text::Justify [−][src]
pub enum Justify { Left, Center, Right, }
A type used for referring to typographic alignment of Text
.
Variants
Left
Align text to the start of the bounding Rect
's x axis.
Center
Symmetrically align text along the y axis.
Right
Align text to the end of the bounding Rect
's x axis.
Trait Implementations
impl Copy for Justify
[src]
impl Copy for Justify
impl Clone for Justify
[src]
impl Clone for Justify
fn clone(&self) -> Justify
[src]
fn clone(&self) -> Justify
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Justify
[src]
impl Debug for Justify
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Justify
[src]
impl PartialEq for Justify
fn eq(&self, other: &Justify) -> bool
[src]
fn eq(&self, other: &Justify) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Justify
[src]
impl Eq for Justify