pub enum AlignItems {
FlexStart,
FlexEnd,
Center,
Stretch,
}
Expand description
Alignment of items in a flexbox along the cross axis.
Variants§
FlexStart
Align flex items at the start of the cross axis.
FlexEnd
Align flex items at the end of the cross axis.
Center
Align flex items at the center of the cross axis.
Stretch
Stretch flex items to fill all the space along 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 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlignItems
impl Debug for AlignItems
Source§impl Default for AlignItems
impl Default for AlignItems
Source§fn default() -> AlignItems
fn default() -> AlignItems
Returns the “default value” for a type. Read more
Source§impl Display for AlignItems
impl Display for AlignItems
Source§impl Hash for AlignItems
impl Hash for AlignItems
Source§impl PartialEq for AlignItems
impl PartialEq for AlignItems
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 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