Enum luminance_glyph::VerticalAlign
pub enum VerticalAlign {
Top,
Center,
Bottom,
}
Expand description
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 Clone for VerticalAlign
impl Clone for VerticalAlign
§fn clone(&self) -> VerticalAlign
fn clone(&self) -> VerticalAlign
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for VerticalAlign
impl Debug for VerticalAlign
§impl Hash for VerticalAlign
impl Hash for VerticalAlign
§impl PartialEq<VerticalAlign> for VerticalAlign
impl PartialEq<VerticalAlign> for VerticalAlign
§fn eq(&self, other: &VerticalAlign) -> bool
fn eq(&self, other: &VerticalAlign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.