pub enum TextAlign {
Start,
Center,
End,
Justify,
}
Expand description
The text alignment.
Variants§
Start
At the start of the inline advance direction.
Center
Centered.
End
At the end of the inline advance direction.
Justify
Justified.
Trait Implementations§
impl Copy for TextAlign
impl Eq for TextAlign
impl StructuralPartialEq for TextAlign
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)