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§
source§impl Clone for VerticalAlign
impl Clone for VerticalAlign
source§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 moresource§impl Debug for VerticalAlign
impl Debug for VerticalAlign
source§impl Hash for VerticalAlign
impl Hash for VerticalAlign
source§impl PartialEq for VerticalAlign
impl PartialEq for VerticalAlign
source§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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more