pub enum HorizontalAlignment {
Left,
Center,
Right,
}Expand description
Specifies whether the widget should be aligned to the left, center or right of the horizontal space in its parent. The default is Left.
Variants§
Trait Implementations§
Source§impl Clone for HorizontalAlignment
impl Clone for HorizontalAlignment
Source§fn clone(&self) -> HorizontalAlignment
fn clone(&self) -> HorizontalAlignment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HorizontalAlignment
impl Debug for HorizontalAlignment
Source§impl Default for HorizontalAlignment
impl Default for HorizontalAlignment
Source§impl PartialEq for HorizontalAlignment
impl PartialEq for HorizontalAlignment
impl Copy for HorizontalAlignment
impl Eq for HorizontalAlignment
impl StructuralPartialEq for HorizontalAlignment
Auto Trait Implementations§
impl Freeze for HorizontalAlignment
impl RefUnwindSafe for HorizontalAlignment
impl Send for HorizontalAlignment
impl Sync for HorizontalAlignment
impl Unpin for HorizontalAlignment
impl UnwindSafe for HorizontalAlignment
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