Enum gfx_glyph::HorizontalAlign
[−]
[src]
pub enum HorizontalAlign { Left, Center, Right, }
Describes horizontal alignment preference for positioning & bounds.
Variants
Left
Leftmost character is immediately to the right of the render position.
Bounds start from the render position and advance rightwards.
Center
Leftmost & rightmost characters are equidistant to the render position.
Bounds start from the render position and advance equally left & right.
Right
Rightmost character is immetiately to the left of the render position.
Bounds start from the render position and advance leftwards.
Trait Implementations
impl Debug for HorizontalAlign
[src]
impl Clone for HorizontalAlign
[src]
fn clone(&self) -> HorizontalAlign
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for HorizontalAlign
[src]
impl PartialEq for HorizontalAlign
[src]
fn eq(&self, __arg_0: &HorizontalAlign) -> bool
[src]
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]
This method tests for !=
.