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