Enum gemini_engine::elements::ascii::TextAlign
source · pub enum TextAlign {
Begin,
Centered,
End,
}Expand description
An enum to set the alignment of a Text 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 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