pub enum FlexPosition {
Center,
End,
Start,
}Expand description
Flex position
Variants§
Trait Implementations§
Source§impl Clone for FlexPosition
impl Clone for FlexPosition
Source§fn clone(&self) -> FlexPosition
fn clone(&self) -> FlexPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for FlexPosition
impl Default for FlexPosition
Source§fn default() -> FlexPosition
fn default() -> FlexPosition
Returns the “default value” for a type. Read more
Source§impl From<FlexPosition> for Style
impl From<FlexPosition> for Style
Source§fn from(s: FlexPosition) -> Style
fn from(s: FlexPosition) -> Style
Converts to this type from the input type.
Source§impl Ord for FlexPosition
impl Ord for FlexPosition
Source§fn cmp(&self, other: &FlexPosition) -> Ordering
fn cmp(&self, other: &FlexPosition) -> Ordering
1.21.0 · 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
Source§impl PartialEq for FlexPosition
impl PartialEq for FlexPosition
Source§impl PartialOrd for FlexPosition
impl PartialOrd for FlexPosition
Source§impl ToString for FlexPosition
impl ToString for FlexPosition
impl Copy for FlexPosition
impl Eq for FlexPosition
impl StructuralPartialEq for FlexPosition
Auto Trait Implementations§
impl Freeze for FlexPosition
impl RefUnwindSafe for FlexPosition
impl Send for FlexPosition
impl Sync for FlexPosition
impl Unpin for FlexPosition
impl UnwindSafe for FlexPosition
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