pub enum AlignSelf {
Auto,
Stretch,
Start,
Center,
End,
}Expand description
Per-item cross-axis alignment override.
Variants§
Auto
Inherit alignment from parent container.
Stretch
Stretch across the cross axis.
Start
Align at cross-axis start.
Center
Center on the cross axis.
End
Align at cross-axis end.
Trait Implementations§
impl Copy for AlignSelf
impl Eq for AlignSelf
Source§impl Ord for AlignSelf
impl Ord for AlignSelf
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AlignSelf
impl PartialOrd for AlignSelf
impl StructuralPartialEq for AlignSelf
Auto Trait Implementations§
impl Forget for AlignSelf
impl Freeze for AlignSelf
impl Move 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