pub enum PaddingBlockValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
LengthPercentage(LengthPercentage),
}Variants§
Implementations§
Source§impl PaddingBlockValue
impl PaddingBlockValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is PaddingBlockValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is PaddingBlockValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is PaddingBlockValue::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 PaddingBlockValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is PaddingBlockValue::Unset otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is PaddingBlockValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for PaddingBlockValue
impl Clone for PaddingBlockValue
Source§fn clone(&self) -> PaddingBlockValue
fn clone(&self) -> PaddingBlockValue
Returns a duplicate 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 PaddingBlockValue
impl Debug for PaddingBlockValue
Source§impl Display for PaddingBlockValue
impl Display for PaddingBlockValue
Source§impl PartialEq for PaddingBlockValue
impl PartialEq for PaddingBlockValue
impl StructuralPartialEq for PaddingBlockValue
impl UnitDataType<PaddingBlock<PaddingBlockValue>> for PaddingBlockValue
Auto Trait Implementations§
impl Freeze for PaddingBlockValue
impl RefUnwindSafe for PaddingBlockValue
impl Send for PaddingBlockValue
impl Sync for PaddingBlockValue
impl Unpin for PaddingBlockValue
impl UnwindSafe for PaddingBlockValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more