pub enum LabelAlignment {
Left,
Center,
Right,
}Expand description
Text alignment for WidgetKind::Label.
Variants§
Trait Implementations§
Source§impl Clone for LabelAlignment
impl Clone for LabelAlignment
impl Copy for LabelAlignment
Source§impl Debug for LabelAlignment
impl Debug for LabelAlignment
Source§impl Default for LabelAlignment
impl Default for LabelAlignment
impl Eq for LabelAlignment
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 LabelAlignment
impl Hash for LabelAlignment
Source§impl PartialEq for LabelAlignment
impl PartialEq for LabelAlignment
impl StructuralPartialEq for LabelAlignment
Auto Trait Implementations§
impl Forget for LabelAlignment
impl Freeze for LabelAlignment
impl Move for LabelAlignment
impl RefUnwindSafe for LabelAlignment
impl Send for LabelAlignment
impl Sync for LabelAlignment
impl Unpin for LabelAlignment
impl UnsafeUnpin for LabelAlignment
impl UnwindSafe for LabelAlignment
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