pub enum FlexDirection {
Column,
ColumnReverse,
Row,
RowReverse,
}Expand description
flex-direction property
Variants§
Column
The direction in which lines of text are stacked
ColumnReverse
Like FlexDirection::Column, but reversed
Row
The direction text is laid out in a line
RowReverse
Like FlexDirection::Row, but reversed
Trait Implementations§
Source§impl Clone for FlexDirection
impl Clone for FlexDirection
Source§fn clone(&self) -> FlexDirection
fn clone(&self) -> FlexDirection
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 FlexDirection
impl Default for FlexDirection
Source§fn default() -> FlexDirection
fn default() -> FlexDirection
Returns the “default value” for a type. Read more
Source§impl From<FlexDirection> for Style
impl From<FlexDirection> for Style
Source§fn from(s: FlexDirection) -> Style
fn from(s: FlexDirection) -> Style
Converts to this type from the input type.
Source§impl Ord for FlexDirection
impl Ord for FlexDirection
Source§fn cmp(&self, other: &FlexDirection) -> Ordering
fn cmp(&self, other: &FlexDirection) -> 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 FlexDirection
impl PartialEq for FlexDirection
Source§impl PartialOrd for FlexDirection
impl PartialOrd for FlexDirection
Source§impl ToString for FlexDirection
impl ToString for FlexDirection
impl Copy for FlexDirection
impl Eq for FlexDirection
impl StructuralPartialEq for FlexDirection
Auto Trait Implementations§
impl Freeze for FlexDirection
impl RefUnwindSafe for FlexDirection
impl Send for FlexDirection
impl Sync for FlexDirection
impl Unpin for FlexDirection
impl UnwindSafe for FlexDirection
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