Enum nannou::ui::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 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<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Justify
[src]
impl Copy for Justify
impl Eq for Justify
[src]
impl Eq for Justify
impl PartialEq<Justify> for Justify
[src]
impl PartialEq<Justify> for Justify