Enum cursive_flexbox::FlexDirection
source · pub enum FlexDirection {
Row,
RowReverse,
Column,
ColumnReverse,
}
Expand description
Direction of a flex container’s main axis.
Variants§
Row
Lay out the items in a row.
RowReverse
Lay out the items in a row (reverse order).
Column
Lay out the items in a column.
ColumnReverse
Lay out the items in a column (reverse order).
Trait Implementations§
source§impl Clone for FlexDirection
impl Clone for FlexDirection
source§fn clone(&self) -> FlexDirection
fn clone(&self) -> FlexDirection
Returns a copy 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 Debug for FlexDirection
impl Debug for FlexDirection
source§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 PartialEq<FlexDirection> for FlexDirection
impl PartialEq<FlexDirection> for FlexDirection
source§fn eq(&self, other: &FlexDirection) -> bool
fn eq(&self, other: &FlexDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.