pub enum DisplayValue {
Show 14 variants
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Block,
Inline,
Flex,
InlineFlex,
Grid,
InlineGrid,
Table,
InlineTable,
None,
}Variants§
Initial
Inherit
Revert
RevertLayer
Unset
Block
Inline
Flex
InlineFlex
Grid
InlineGrid
Table
InlineTable
None
Implementations§
Source§impl DisplayValue
impl DisplayValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is DisplayValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is DisplayValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is DisplayValue::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 DisplayValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is DisplayValue::Unset otherwise false
Sourcepub const fn is_block(&self) -> bool
pub const fn is_block(&self) -> bool
Returns true if the enum is DisplayValue::Block otherwise false
Sourcepub const fn is_inline(&self) -> bool
pub const fn is_inline(&self) -> bool
Returns true if the enum is DisplayValue::Inline otherwise false
Sourcepub const fn is_flex(&self) -> bool
pub const fn is_flex(&self) -> bool
Returns true if the enum is DisplayValue::Flex otherwise false
Sourcepub const fn is_inline_flex(&self) -> bool
pub const fn is_inline_flex(&self) -> bool
Returns true if the enum is DisplayValue::InlineFlex otherwise false
Sourcepub const fn is_grid(&self) -> bool
pub const fn is_grid(&self) -> bool
Returns true if the enum is DisplayValue::Grid otherwise false
Sourcepub const fn is_inline_grid(&self) -> bool
pub const fn is_inline_grid(&self) -> bool
Returns true if the enum is DisplayValue::InlineGrid otherwise false
Sourcepub const fn is_table(&self) -> bool
pub const fn is_table(&self) -> bool
Returns true if the enum is DisplayValue::Table otherwise false
Sourcepub const fn is_inline_table(&self) -> bool
pub const fn is_inline_table(&self) -> bool
Returns true if the enum is DisplayValue::InlineTable otherwise false
Trait Implementations§
Source§impl Clone for DisplayValue
impl Clone for DisplayValue
Source§fn clone(&self) -> DisplayValue
fn clone(&self) -> DisplayValue
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more