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
Left
Center
Right
Trait Implementations
sourceimpl Clone for HorizontalAlignment
impl Clone for HorizontalAlignment
sourcefn clone(&self) -> HorizontalAlignment
fn clone(&self) -> HorizontalAlignment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HorizontalAlignment
impl Debug for HorizontalAlignment
sourceimpl Default for HorizontalAlignment
impl Default for HorizontalAlignment
impl Copy for HorizontalAlignment
impl Eq for HorizontalAlignment
impl StructuralEq for HorizontalAlignment
impl StructuralPartialEq for HorizontalAlignment
Auto Trait Implementations
impl RefUnwindSafe for HorizontalAlignment
impl Send for HorizontalAlignment
impl Sync for HorizontalAlignment
impl Unpin for HorizontalAlignment
impl UnwindSafe for HorizontalAlignment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more