pub enum ItemsAlignment {
Center,
Start,
End,
Stretch,
}Expand description
Possible alignment of the items in LinearLayout.
Variants§
Center
Align widgets to the center
Start
Align widgets to the start
End
Align widgets to the end
Stretch
Stretches widget to fill up all available space
Trait Implementations§
Source§impl Clone for ItemsAlignment
impl Clone for ItemsAlignment
Source§fn clone(&self) -> ItemsAlignment
fn clone(&self) -> ItemsAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ItemsAlignment
Auto Trait Implementations§
impl Freeze for ItemsAlignment
impl RefUnwindSafe for ItemsAlignment
impl Send for ItemsAlignment
impl Sync for ItemsAlignment
impl Unpin for ItemsAlignment
impl UnsafeUnpin for ItemsAlignment
impl UnwindSafe for ItemsAlignment
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