pub enum FlexMainAxisAlignment {
Start,
End,
Center,
SpaceBetween,
SpaceAround,
SpaceEvenly,
}Expand description
The alignment along the main axis
Variants§
Trait Implementations§
Source§impl Clone for FlexMainAxisAlignment
impl Clone for FlexMainAxisAlignment
impl Copy for FlexMainAxisAlignment
Source§impl Debug for FlexMainAxisAlignment
impl Debug for FlexMainAxisAlignment
Source§impl<'de> Deserialize<'de> for FlexMainAxisAlignment
impl<'de> Deserialize<'de> for FlexMainAxisAlignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FlexMainAxisAlignment
Source§impl From<&FlexMainAxisAlignment> for FlexMainAxisAlignment
impl From<&FlexMainAxisAlignment> for FlexMainAxisAlignment
Source§fn from(value: &FlexMainAxisAlignment) -> Self
fn from(value: &FlexMainAxisAlignment) -> Self
Converts to this type from the input type.
Source§impl FromStr for FlexMainAxisAlignment
impl FromStr for FlexMainAxisAlignment
Source§impl Hash for FlexMainAxisAlignment
impl Hash for FlexMainAxisAlignment
Source§impl Ord for FlexMainAxisAlignment
impl Ord for FlexMainAxisAlignment
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 PartialEq for FlexMainAxisAlignment
impl PartialEq for FlexMainAxisAlignment
Source§impl PartialOrd for FlexMainAxisAlignment
impl PartialOrd for FlexMainAxisAlignment
Source§impl Serialize for FlexMainAxisAlignment
impl Serialize for FlexMainAxisAlignment
impl StructuralPartialEq for FlexMainAxisAlignment
Source§impl ToString for FlexMainAxisAlignment
impl ToString for FlexMainAxisAlignment
Source§impl TryFrom<&String> for FlexMainAxisAlignment
impl TryFrom<&String> for FlexMainAxisAlignment
Source§impl TryFrom<&str> for FlexMainAxisAlignment
impl TryFrom<&str> for FlexMainAxisAlignment
Auto Trait Implementations§
impl Freeze for FlexMainAxisAlignment
impl RefUnwindSafe for FlexMainAxisAlignment
impl Send for FlexMainAxisAlignment
impl Sync for FlexMainAxisAlignment
impl Unpin for FlexMainAxisAlignment
impl UnsafeUnpin for FlexMainAxisAlignment
impl UnwindSafe for FlexMainAxisAlignment
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