Enum wgpu_glyph::VerticalAlign [−]
pub enum VerticalAlign { Top, Center, Bottom, }
Expand description
Describes vertical alignment preference for positioning & bounds. Currently a placeholder for future functionality.
Variants
Characters/bounds start underneath the render position and progress downwards.
Characters/bounds center at the render position and progress outward equally.
Characters/bounds start above the render position and progress upward.
Trait Implementations
impl Clone for VerticalAlign
impl Clone for VerticalAlign
pub fn clone(&self) -> VerticalAlign
pub fn clone(&self) -> VerticalAlign
Returns a copy of the value. Read more
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
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
Mutably borrows from an owned value. Read more