pub enum AlignItems {
Start,
Center,
End,
Stretch,
}Expand description
Cross-axis alignment of items within the container.
Variants§
Start
Align to the cross-axis start.
Center
Centre on the cross axis.
End
Align to the cross-axis end.
Stretch
Stretch to fill the cross axis.
Trait Implementations§
Source§impl Clone for AlignItems
impl Clone for AlignItems
Source§fn clone(&self) -> AlignItems
fn clone(&self) -> AlignItems
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 moreSource§impl Debug for AlignItems
impl Debug for AlignItems
Source§impl PartialEq for AlignItems
impl PartialEq for AlignItems
Source§fn eq(&self, other: &AlignItems) -> bool
fn eq(&self, other: &AlignItems) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlignItems
impl Eq for AlignItems
impl StructuralPartialEq for AlignItems
Auto Trait Implementations§
impl Freeze for AlignItems
impl RefUnwindSafe for AlignItems
impl Send for AlignItems
impl Sync for AlignItems
impl Unpin for AlignItems
impl UnsafeUnpin for AlignItems
impl UnwindSafe for AlignItems
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