pub enum AlignContent {
Start,
Center,
End,
SpaceBetween,
SpaceAround,
SpaceEvenly,
Stretch,
}Expand description
Where the lines of a wrapping flex container, or a grid’s rows, lie across the container.
Variants§
Start
Packed at the start.
Center
Packed in the middle.
End
Packed at the end.
SpaceBetween
The first at the start, the last at the end, equal space between.
SpaceAround
Equal space around each.
SpaceEvenly
Equal space between each and at both ends.
Stretch
Grown to fill the container.
Trait Implementations§
Source§impl Clone for AlignContent
impl Clone for AlignContent
impl Copy for AlignContent
Source§impl Debug for AlignContent
impl Debug for AlignContent
Source§impl Default for AlignContent
impl Default for AlignContent
Source§impl<'de> Deserialize<'de> for AlignContent
impl<'de> Deserialize<'de> for AlignContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AlignContent
Source§impl Hash for AlignContent
impl Hash for AlignContent
Source§impl PartialEq for AlignContent
impl PartialEq for AlignContent
Source§impl Serialize for AlignContent
impl Serialize for AlignContent
impl StructuralPartialEq for AlignContent
Auto Trait Implementations§
impl Freeze for AlignContent
impl RefUnwindSafe for AlignContent
impl Send for AlignContent
impl Sync for AlignContent
impl Unpin for AlignContent
impl UnsafeUnpin for AlignContent
impl UnwindSafe for AlignContent
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