Enum cursive_flexbox::FlexDirection
source · #[non_exhaustive]
pub enum FlexDirection {
Row,
Column,
}
Expand description
Direction of a flex container’s main axis.
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.
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 Display for FlexDirection
impl Display for FlexDirection
source§impl Hash for FlexDirection
impl Hash for FlexDirection
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 ==
.