#[non_exhaustive]pub enum AlignSelf {
Show 13 variants
AnchorCenter,
Auto,
Baseline,
Center,
End,
FlexEnd,
FlexStart,
Normal,
SelfEnd,
SelfStart,
Start,
Stretch,
Raw(Raw),
}Expand description
A value of align-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.
Normal
normal.
SelfEnd
self-end.
SelfStart
self-start.
Start
start.
Stretch
stretch.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for AlignSelf
Auto Trait Implementations§
impl Freeze for AlignSelf
impl RefUnwindSafe for AlignSelf
impl Send for AlignSelf
impl Sync for AlignSelf
impl Unpin for AlignSelf
impl UnsafeUnpin for AlignSelf
impl UnwindSafe for AlignSelf
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