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