#[non_exhaustive]pub enum AlignContent {
Baseline,
Center,
End,
FlexEnd,
FlexStart,
Normal,
SpaceAround,
SpaceBetween,
SpaceEvenly,
Start,
Stretch,
Raw(Raw),
}Expand description
A value of align-content.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Baseline
baseline.
Center
center.
End
end.
FlexEnd
flex-end.
FlexStart
flex-start.
Normal
normal.
SpaceAround
space-around.
SpaceBetween
space-between.
SpaceEvenly
space-evenly.
Start
start.
Stretch
stretch.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for AlignContent
impl Clone for AlignContent
Source§fn clone(&self) -> AlignContent
fn clone(&self) -> AlignContent
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 AlignContent
impl Debug for AlignContent
Source§impl Display for AlignContent
impl Display for AlignContent
Source§impl From<Raw> for AlignContent
impl From<Raw> for AlignContent
Source§impl PartialEq for AlignContent
impl PartialEq 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