Enum yoga::types::FlexStyle [−][src]
pub enum FlexStyle { AlignContent(Align), AlignItems(Align), AlignSelf(Align), AspectRatio(OrderedFloat<f32>), BorderBottom(OrderedFloat<f32>), BorderEnd(OrderedFloat<f32>), BorderLeft(OrderedFloat<f32>), BorderRight(OrderedFloat<f32>), BorderStart(OrderedFloat<f32>), BorderTop(OrderedFloat<f32>), Border(OrderedFloat<f32>), Bottom(StyleUnit), Display(Display), End(StyleUnit), Flex(OrderedFloat<f32>), FlexBasis(StyleUnit), FlexDirection(FlexDirection), FlexGrow(OrderedFloat<f32>), FlexShrink(OrderedFloat<f32>), FlexWrap(Wrap), Height(StyleUnit), JustifyContent(Justify), Left(StyleUnit), Margin(StyleUnit), MarginBottom(StyleUnit), MarginEnd(StyleUnit), MarginHorizontal(StyleUnit), MarginLeft(StyleUnit), MarginRight(StyleUnit), MarginStart(StyleUnit), MarginTop(StyleUnit), MarginVertical(StyleUnit), MaxHeight(StyleUnit), MaxWidth(StyleUnit), MinHeight(StyleUnit), MinWidth(StyleUnit), Overflow(Overflow), Padding(StyleUnit), PaddingBottom(StyleUnit), PaddingEnd(StyleUnit), PaddingHorizontal(StyleUnit), PaddingLeft(StyleUnit), PaddingRight(StyleUnit), PaddingStart(StyleUnit), PaddingTop(StyleUnit), PaddingVertical(StyleUnit), Position(PositionType), Right(StyleUnit), Start(StyleUnit), Top(StyleUnit), Width(StyleUnit), }
Variants
AlignContent(Align)
AlignItems(Align)
AlignSelf(Align)
AspectRatio(OrderedFloat<f32>)
BorderBottom(OrderedFloat<f32>)
BorderEnd(OrderedFloat<f32>)
BorderLeft(OrderedFloat<f32>)
BorderRight(OrderedFloat<f32>)
BorderStart(OrderedFloat<f32>)
BorderTop(OrderedFloat<f32>)
Border(OrderedFloat<f32>)
Bottom(StyleUnit)
Display(Display)
End(StyleUnit)
Flex(OrderedFloat<f32>)
FlexBasis(StyleUnit)
FlexDirection(FlexDirection)
FlexGrow(OrderedFloat<f32>)
FlexShrink(OrderedFloat<f32>)
FlexWrap(Wrap)
Height(StyleUnit)
JustifyContent(Justify)
Left(StyleUnit)
Margin(StyleUnit)
MarginBottom(StyleUnit)
MarginEnd(StyleUnit)
MarginHorizontal(StyleUnit)
MarginLeft(StyleUnit)
MarginRight(StyleUnit)
MarginStart(StyleUnit)
MarginTop(StyleUnit)
MarginVertical(StyleUnit)
MaxHeight(StyleUnit)
MaxWidth(StyleUnit)
MinHeight(StyleUnit)
MinWidth(StyleUnit)
Overflow(Overflow)
Padding(StyleUnit)
PaddingBottom(StyleUnit)
PaddingEnd(StyleUnit)
PaddingHorizontal(StyleUnit)
PaddingLeft(StyleUnit)
PaddingRight(StyleUnit)
PaddingStart(StyleUnit)
PaddingTop(StyleUnit)
PaddingVertical(StyleUnit)
Position(PositionType)
Right(StyleUnit)
Start(StyleUnit)
Top(StyleUnit)
Width(StyleUnit)
Trait Implementations
impl Debug for FlexStyle
[src]
impl Debug for FlexStyle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FlexStyle
[src]
impl PartialEq for FlexStyle
fn eq(&self, other: &FlexStyle) -> bool
[src]
fn eq(&self, other: &FlexStyle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FlexStyle) -> bool
[src]
fn ne(&self, other: &FlexStyle) -> bool
This method tests for !=
.
impl Eq for FlexStyle
[src]
impl Eq for FlexStyle
impl PartialOrd for FlexStyle
[src]
impl PartialOrd for FlexStyle
fn partial_cmp(&self, other: &FlexStyle) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &FlexStyle) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &FlexStyle) -> bool
[src]
fn lt(&self, other: &FlexStyle) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &FlexStyle) -> bool
[src]
fn le(&self, other: &FlexStyle) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &FlexStyle) -> bool
[src]
fn gt(&self, other: &FlexStyle) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &FlexStyle) -> bool
[src]
fn ge(&self, other: &FlexStyle) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for FlexStyle
[src]
impl Ord for FlexStyle
fn cmp(&self, other: &FlexStyle) -> Ordering
[src]
fn cmp(&self, other: &FlexStyle) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for FlexStyle
[src]
impl Hash for FlexStyle
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for FlexStyle
[src]
impl Copy for FlexStyle
impl Clone for FlexStyle
[src]
impl Clone for FlexStyle