pub enum LayoutAlignContent {
Stretch,
Center,
Start,
End,
SpaceBetween,
SpaceAround,
}
Expand description
Represents a align-content
attribute
Variants§
Stretch
Default value. Lines stretch to take up the remaining space
Center
Lines are packed toward the center of the flex container
Start
Lines are packed toward the start of the flex container
End
Lines are packed toward the end of the flex container
SpaceBetween
Lines are evenly distributed in the flex container
SpaceAround
Lines are evenly distributed in the flex container, with half-size spaces on either end
Trait Implementations§
Source§impl Clone for LayoutAlignContent
impl Clone for LayoutAlignContent
Source§fn clone(&self) -> LayoutAlignContent
fn clone(&self) -> LayoutAlignContent
Returns a copy of the value. Read more
1.0.0 · 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 LayoutAlignContent
impl Debug for LayoutAlignContent
Source§impl Default for LayoutAlignContent
impl Default for LayoutAlignContent
Source§impl From<LayoutAlignContent> for CssProperty
impl From<LayoutAlignContent> for CssProperty
Source§fn from(e: LayoutAlignContent) -> Self
fn from(e: LayoutAlignContent) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutAlignContent
impl Hash for LayoutAlignContent
Source§impl Ord for LayoutAlignContent
impl Ord for LayoutAlignContent
Source§fn cmp(&self, other: &LayoutAlignContent) -> Ordering
fn cmp(&self, other: &LayoutAlignContent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutAlignContent
impl PartialEq for LayoutAlignContent
Source§impl PartialOrd for LayoutAlignContent
impl PartialOrd for LayoutAlignContent
impl Copy for LayoutAlignContent
impl Eq for LayoutAlignContent
impl StructuralPartialEq for LayoutAlignContent
Auto Trait Implementations§
impl Freeze for LayoutAlignContent
impl RefUnwindSafe for LayoutAlignContent
impl Send for LayoutAlignContent
impl Sync for LayoutAlignContent
impl Unpin for LayoutAlignContent
impl UnwindSafe for LayoutAlignContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)