Enum gfx_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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl 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
impl Copy for VerticalAlign
impl Eq for VerticalAlign
impl StructuralEq for VerticalAlign
impl StructuralPartialEq for VerticalAlign
Auto Trait Implementations
impl RefUnwindSafe for VerticalAlign
impl Send for VerticalAlign
impl Sync for VerticalAlign
impl Unpin for VerticalAlign
impl UnwindSafe for VerticalAlign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more