Enum glyph_brush_layout::VerticalAlign [−][src]
pub enum VerticalAlign { Top, Center, Bottom, }
Describes vertical alignment preference for positioning & bounds. Currently a placeholder for future functionality.
Variants
Top
Characters/bounds start underneath the render position and progress downwards.
Center
Characters/bounds center at the render position and progress outward equally.
Bottom
Characters/bounds start above the render position and progress upward.
Trait Implementations
impl Debug for VerticalAlign
[src]
impl Debug for VerticalAlign
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 Clone for VerticalAlign
[src]
impl Clone for VerticalAlign
fn clone(&self) -> VerticalAlign
[src]
fn clone(&self) -> VerticalAlign
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 Copy for VerticalAlign
[src]
impl Copy for VerticalAlign
impl PartialEq for VerticalAlign
[src]
impl PartialEq for VerticalAlign
fn eq(&self, other: &VerticalAlign) -> bool
[src]
fn eq(&self, other: &VerticalAlign) -> 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 VerticalAlign
[src]
impl Eq for VerticalAlign
impl Hash for VerticalAlign
[src]
impl Hash for VerticalAlign
Auto Trait Implementations
impl Send for VerticalAlign
impl Send for VerticalAlign
impl Sync for VerticalAlign
impl Sync for VerticalAlign