pub enum TextAlignment {
Left,
Center,
Right,
}Expand description
Text alignment for widgets and grid cells.
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
impl Eq for TextAlignment
Source§impl From<LabelAlignment> for TextAlignment
impl From<LabelAlignment> for TextAlignment
Source§fn from(alignment: LabelAlignment) -> Self
fn from(alignment: LabelAlignment) -> Self
Converts to this type from the input type.
Source§impl From<TextAlignment> for LabelAlignment
impl From<TextAlignment> for LabelAlignment
Source§fn from(alignment: TextAlignment) -> Self
fn from(alignment: TextAlignment) -> Self
Converts to this type from the input type.
Source§impl Hash for TextAlignment
impl Hash for TextAlignment
Source§impl PartialEq for TextAlignment
impl PartialEq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Forget for TextAlignment
impl Freeze for TextAlignment
impl Move 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