#[non_exhaustive]#[repr(u32)]pub enum FlexboxLayoutAlignSelf {
Auto = 0,
Stretch = 1,
Start = 2,
End = 3,
Center = 4,
}Expand description
Overrides the container’s cross-axis-alignment for a specific flex item.
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.
Auto = 0
Use the container’s cross-axis-alignment value (default).
Stretch = 1
The item is stretched to fill the line along the cross axis.
Start = 2
The item is placed at the start of the cross axis.
End = 3
The item is placed at the end of the cross axis.
Center = 4
The item is centered along the cross axis.
Trait Implementations§
Source§impl Clone for FlexboxLayoutAlignSelf
impl Clone for FlexboxLayoutAlignSelf
Source§fn clone(&self) -> FlexboxLayoutAlignSelf
fn clone(&self) -> FlexboxLayoutAlignSelf
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 moreimpl Copy for FlexboxLayoutAlignSelf
Source§impl Debug for FlexboxLayoutAlignSelf
impl Debug for FlexboxLayoutAlignSelf
Source§impl Default for FlexboxLayoutAlignSelf
impl Default for FlexboxLayoutAlignSelf
Source§impl Display for FlexboxLayoutAlignSelf
impl Display for FlexboxLayoutAlignSelf
impl Eq for FlexboxLayoutAlignSelf
Source§impl FromStr for FlexboxLayoutAlignSelf
impl FromStr for FlexboxLayoutAlignSelf
Source§impl Hash for FlexboxLayoutAlignSelf
impl Hash for FlexboxLayoutAlignSelf
Source§impl PartialEq for FlexboxLayoutAlignSelf
impl PartialEq for FlexboxLayoutAlignSelf
Source§fn eq(&self, other: &FlexboxLayoutAlignSelf) -> bool
fn eq(&self, other: &FlexboxLayoutAlignSelf) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlexboxLayoutAlignSelf
Auto Trait Implementations§
impl Freeze for FlexboxLayoutAlignSelf
impl RefUnwindSafe for FlexboxLayoutAlignSelf
impl Send for FlexboxLayoutAlignSelf
impl Sync for FlexboxLayoutAlignSelf
impl Unpin for FlexboxLayoutAlignSelf
impl UnsafeUnpin for FlexboxLayoutAlignSelf
impl UnwindSafe for FlexboxLayoutAlignSelf
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Converts the given value to a
SharedString.