pub enum AlignContentValue {
Show 20 variants
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Normal,
First,
Last,
Baseline,
SpaceAround,
SpaceBetween,
SpaceEvenly,
Stretch,
Safe,
Unsafe,
Center,
Start,
End,
FlexStart,
FlexEnd,
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Normal
First
Last
Baseline
SpaceAround
SpaceBetween
SpaceEvenly
Stretch
Safe
Unsafe
Center
Start
End
FlexStart
FlexEnd
Implementations§
Source§impl AlignContentValue
impl AlignContentValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is AlignContentValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is AlignContentValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is AlignContentValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is AlignContentValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is AlignContentValue::Unset otherwise false
Sourcepub const fn is_normal(&self) -> bool
pub const fn is_normal(&self) -> bool
Returns true if the enum is AlignContentValue::Normal otherwise false
Sourcepub const fn is_first(&self) -> bool
pub const fn is_first(&self) -> bool
Returns true if the enum is AlignContentValue::First otherwise false
Sourcepub const fn is_last(&self) -> bool
pub const fn is_last(&self) -> bool
Returns true if the enum is AlignContentValue::Last otherwise false
Sourcepub const fn is_baseline(&self) -> bool
pub const fn is_baseline(&self) -> bool
Returns true if the enum is AlignContentValue::Baseline otherwise false
Sourcepub const fn is_space_around(&self) -> bool
pub const fn is_space_around(&self) -> bool
Returns true if the enum is AlignContentValue::SpaceAround otherwise false
Sourcepub const fn is_space_between(&self) -> bool
pub const fn is_space_between(&self) -> bool
Returns true if the enum is AlignContentValue::SpaceBetween otherwise false
Sourcepub const fn is_space_evenly(&self) -> bool
pub const fn is_space_evenly(&self) -> bool
Returns true if the enum is AlignContentValue::SpaceEvenly otherwise false
Sourcepub const fn is_stretch(&self) -> bool
pub const fn is_stretch(&self) -> bool
Returns true if the enum is AlignContentValue::Stretch otherwise false
Sourcepub const fn is_safe(&self) -> bool
pub const fn is_safe(&self) -> bool
Returns true if the enum is AlignContentValue::Safe otherwise false
Sourcepub const fn is_unsafe(&self) -> bool
pub const fn is_unsafe(&self) -> bool
Returns true if the enum is AlignContentValue::Unsafe otherwise false
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if the enum is AlignContentValue::Center otherwise false
Sourcepub const fn is_start(&self) -> bool
pub const fn is_start(&self) -> bool
Returns true if the enum is AlignContentValue::Start otherwise false
Sourcepub const fn is_end(&self) -> bool
pub const fn is_end(&self) -> bool
Returns true if the enum is AlignContentValue::End otherwise false
Sourcepub const fn is_flex_start(&self) -> bool
pub const fn is_flex_start(&self) -> bool
Returns true if the enum is AlignContentValue::FlexStart otherwise false
Sourcepub const fn is_flex_end(&self) -> bool
pub const fn is_flex_end(&self) -> bool
Returns true if the enum is AlignContentValue::FlexEnd otherwise false
Trait Implementations§
Source§impl Clone for AlignContentValue
impl Clone for AlignContentValue
Source§fn clone(&self) -> AlignContentValue
fn clone(&self) -> AlignContentValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more