pub enum VerticalAlignment {
Top,
Middle,
Bottom,
}Expand description
The vertical alignment of a column’s content.
Specified by a vertical alignment operator on a
column specifier, always introduced by a dot (.): .< for
Top, .> for Bottom, and .^ for
Middle. The default is Top.
Variants§
Top
Content is aligned to the top of the column’s cells (the .< operator).
This is the default vertical alignment.
Middle
Content is centered vertically in the column’s cells (the .^
operator).
Bottom
Content is aligned to the bottom of the column’s cells (the .>
operator).
Trait Implementations§
Source§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
Source§fn clone(&self) -> VerticalAlignment
fn clone(&self) -> VerticalAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerticalAlignment
Source§impl Debug for VerticalAlignment
impl Debug for VerticalAlignment
impl Eq for VerticalAlignment
Source§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
Source§fn eq(&self, other: &VerticalAlignment) -> bool
fn eq(&self, other: &VerticalAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerticalAlignment
Auto Trait Implementations§
impl Freeze for VerticalAlignment
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnsafeUnpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
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