#[non_exhaustive]pub enum JustifyItems {
Show 15 variants
AnchorCenter,
Baseline,
Center,
End,
FlexEnd,
FlexStart,
Left,
Legacy,
Normal,
Right,
SelfEnd,
SelfStart,
Start,
Stretch,
Raw(Raw),
}Expand description
A value of justify-items.
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.
AnchorCenter
anchor-center.
Baseline
baseline.
Center
center.
End
end.
FlexEnd
flex-end.
FlexStart
flex-start.
Left
left.
Legacy
legacy.
Normal
normal.
Right
right.
SelfEnd
self-end.
SelfStart
self-start.
Start
start.
Stretch
stretch.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for JustifyItems
impl Clone for JustifyItems
Source§fn clone(&self) -> JustifyItems
fn clone(&self) -> JustifyItems
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 JustifyItems
impl Debug for JustifyItems
Source§impl Display for JustifyItems
impl Display for JustifyItems
Source§impl From<Raw> for JustifyItems
impl From<Raw> for JustifyItems
Source§impl PartialEq for JustifyItems
impl PartialEq for JustifyItems
impl StructuralPartialEq for JustifyItems
Auto Trait Implementations§
impl Freeze for JustifyItems
impl RefUnwindSafe for JustifyItems
impl Send for JustifyItems
impl Sync for JustifyItems
impl Unpin for JustifyItems
impl UnsafeUnpin for JustifyItems
impl UnwindSafe for JustifyItems
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