pub enum FormatAlignType {
Top,
Center,
Bottom,
Left,
VerticalCenter,
Right,
}
Expand description
FormatAlignType
determines the position of the alignment.
§Fields:
unit | meaning |
---|---|
Top | top-align |
Center | horizontal center-align |
Bottom | bottom-align |
Left | left-align |
VerticalCenter | vertical center-align |
Right | right-align |
Variants§
Trait Implementations§
Source§impl Clone for FormatAlignType
impl Clone for FormatAlignType
Source§fn clone(&self) -> FormatAlignType
fn clone(&self) -> FormatAlignType
Returns a duplicate 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 FormatAlignType
impl Debug for FormatAlignType
Source§impl Default for FormatAlignType
impl Default for FormatAlignType
Source§impl PartialEq for FormatAlignType
impl PartialEq for FormatAlignType
impl Copy for FormatAlignType
impl StructuralPartialEq for FormatAlignType
Auto Trait Implementations§
impl Freeze for FormatAlignType
impl RefUnwindSafe for FormatAlignType
impl Send for FormatAlignType
impl Sync for FormatAlignType
impl Unpin for FormatAlignType
impl UnwindSafe for FormatAlignType
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