pub enum AlignSelfValue {
Show 20 variants
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
Normal,
Stretch,
First,
Last,
Baseline,
Safe,
Unsafe,
Center,
Start,
End,
SelfStart,
SelfEnd,
FlexStart,
FlexEnd,
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Auto
Normal
Stretch
First
Last
Baseline
Safe
Unsafe
Center
Start
End
SelfStart
SelfEnd
FlexStart
FlexEnd
Implementations§
Source§impl AlignSelfValue
impl AlignSelfValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is AlignSelfValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is AlignSelfValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is AlignSelfValue::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 AlignSelfValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is AlignSelfValue::Unset otherwise false
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Returns true if the enum is AlignSelfValue::Auto otherwise false
Sourcepub const fn is_normal(&self) -> bool
pub const fn is_normal(&self) -> bool
Returns true if the enum is AlignSelfValue::Normal otherwise false
Sourcepub const fn is_stretch(&self) -> bool
pub const fn is_stretch(&self) -> bool
Returns true if the enum is AlignSelfValue::Stretch otherwise false
Sourcepub const fn is_first(&self) -> bool
pub const fn is_first(&self) -> bool
Returns true if the enum is AlignSelfValue::First otherwise false
Sourcepub const fn is_last(&self) -> bool
pub const fn is_last(&self) -> bool
Returns true if the enum is AlignSelfValue::Last otherwise false
Sourcepub const fn is_baseline(&self) -> bool
pub const fn is_baseline(&self) -> bool
Returns true if the enum is AlignSelfValue::Baseline otherwise false
Sourcepub const fn is_safe(&self) -> bool
pub const fn is_safe(&self) -> bool
Returns true if the enum is AlignSelfValue::Safe otherwise false
Sourcepub const fn is_unsafe(&self) -> bool
pub const fn is_unsafe(&self) -> bool
Returns true if the enum is AlignSelfValue::Unsafe otherwise false
Sourcepub const fn is_center(&self) -> bool
pub const fn is_center(&self) -> bool
Returns true if the enum is AlignSelfValue::Center otherwise false
Sourcepub const fn is_start(&self) -> bool
pub const fn is_start(&self) -> bool
Returns true if the enum is AlignSelfValue::Start otherwise false
Sourcepub const fn is_end(&self) -> bool
pub const fn is_end(&self) -> bool
Returns true if the enum is AlignSelfValue::End otherwise false
Sourcepub const fn is_self_start(&self) -> bool
pub const fn is_self_start(&self) -> bool
Returns true if the enum is AlignSelfValue::SelfStart otherwise false
Sourcepub const fn is_self_end(&self) -> bool
pub const fn is_self_end(&self) -> bool
Returns true if the enum is AlignSelfValue::SelfEnd otherwise false
Sourcepub const fn is_flex_start(&self) -> bool
pub const fn is_flex_start(&self) -> bool
Returns true if the enum is AlignSelfValue::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 AlignSelfValue::FlexEnd otherwise false
Trait Implementations§
Source§impl Clone for AlignSelfValue
impl Clone for AlignSelfValue
Source§fn clone(&self) -> AlignSelfValue
fn clone(&self) -> AlignSelfValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more