Enum cursive_flexbox::AlignItems
source · pub enum AlignItems {
FlexStart,
FlexEnd,
Center,
Stretch,
}
Expand description
Alignment of items in a flexbox along the cross axis.
Variants§
FlexStart
Align flex items at the start of the cross axis.
FlexEnd
Align flex items at the end of the cross axis.
Center
Align flex items at the center of the cross axis.
Stretch
Stretch flex items to fill all the space along the cross axis.
Trait Implementations§
source§impl Clone for AlignItems
impl Clone for AlignItems
source§fn clone(&self) -> AlignItems
fn clone(&self) -> AlignItems
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 AlignItems
impl Debug for AlignItems
source§impl Default for AlignItems
impl Default for AlignItems
source§fn default() -> AlignItems
fn default() -> AlignItems
Returns the “default value” for a type. Read more
source§impl Display for AlignItems
impl Display for AlignItems
source§impl Hash for AlignItems
impl Hash for AlignItems
source§impl PartialEq<AlignItems> for AlignItems
impl PartialEq<AlignItems> for AlignItems
source§fn eq(&self, other: &AlignItems) -> bool
fn eq(&self, other: &AlignItems) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.