pub enum PaddingBlockStartValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
LengthPercentage(LengthPercentage),
}Variants§
Implementations§
Source§impl PaddingBlockStartValue
impl PaddingBlockStartValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is PaddingBlockStartValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is PaddingBlockStartValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is PaddingBlockStartValue::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 PaddingBlockStartValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is PaddingBlockStartValue::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 PaddingBlockStartValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for PaddingBlockStartValue
impl Clone for PaddingBlockStartValue
Source§fn clone(&self) -> PaddingBlockStartValue
fn clone(&self) -> PaddingBlockStartValue
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 PaddingBlockStartValue
impl Debug for PaddingBlockStartValue
Source§impl Display for PaddingBlockStartValue
impl Display for PaddingBlockStartValue
Source§impl PartialEq for PaddingBlockStartValue
impl PartialEq for PaddingBlockStartValue
impl StructuralPartialEq for PaddingBlockStartValue
impl UnitDataType<PaddingBlockStart<PaddingBlockStartValue>> for PaddingBlockStartValue
Auto Trait Implementations§
impl Freeze for PaddingBlockStartValue
impl RefUnwindSafe for PaddingBlockStartValue
impl Send for PaddingBlockStartValue
impl Sync for PaddingBlockStartValue
impl Unpin for PaddingBlockStartValue
impl UnwindSafe for PaddingBlockStartValue
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