pub enum TextAlignment {
Auto,
Left,
Right,
Center,
Justify,
}Expand description
Describes how text should be aligned.
Variants§
Trait Implementations§
Source§impl Clone for TextAlignment
impl Clone for TextAlignment
impl Copy for TextAlignment
Source§impl Debug for TextAlignment
impl Debug for TextAlignment
Source§impl Default for TextAlignment
impl Default for TextAlignment
Source§fn default() -> TextAlignment
fn default() -> TextAlignment
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextAlignment
impl PartialEq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Freeze for TextAlignment
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnsafeUnpin for TextAlignment
impl UnwindSafe for TextAlignment
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