pub enum TextAlign {
Begin,
Centered,
End,
}
Expand description
An enum to determine the alignment of an ascii element’s content
Variants§
Begin
Align to the beginning of the text
Centered
Align to the center of the text
End
Align to the end of the text
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextAlign
impl RefUnwindSafe for TextAlign
impl Send for TextAlign
impl Sync for TextAlign
impl Unpin for TextAlign
impl UnwindSafe for TextAlign
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