pub enum Alignment {
Left,
Center,
Right,
}
Expand description
Alignment
represents how a TabWriter
should align text within its cell.
Variants§
Left
Text should be aligned with the left edge of the cell
Center
Text should be centered within the cell
Right
Text should be aligned with the right edge of the cell
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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