pub enum ScrollPaddingBlockStartValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
LengthPercentage(LengthPercentage),
}Variants§
Implementations§
Source§impl ScrollPaddingBlockStartValue
impl ScrollPaddingBlockStartValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::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 ScrollPaddingBlockStartValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::Unset otherwise false
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::Auto otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is ScrollPaddingBlockStartValue::LengthPercentage otherwise false
Trait Implementations§
Source§impl Clone for ScrollPaddingBlockStartValue
impl Clone for ScrollPaddingBlockStartValue
Source§fn clone(&self) -> ScrollPaddingBlockStartValue
fn clone(&self) -> ScrollPaddingBlockStartValue
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 ScrollPaddingBlockStartValue
impl Debug for ScrollPaddingBlockStartValue
Source§impl PartialEq for ScrollPaddingBlockStartValue
impl PartialEq for ScrollPaddingBlockStartValue
Source§fn eq(&self, other: &ScrollPaddingBlockStartValue) -> bool
fn eq(&self, other: &ScrollPaddingBlockStartValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScrollPaddingBlockStartValue
impl UnitDataType<ScrollPaddingBlockStart<ScrollPaddingBlockStartValue>> for ScrollPaddingBlockStartValue
Auto Trait Implementations§
impl Freeze for ScrollPaddingBlockStartValue
impl RefUnwindSafe for ScrollPaddingBlockStartValue
impl Send for ScrollPaddingBlockStartValue
impl Sync for ScrollPaddingBlockStartValue
impl Unpin for ScrollPaddingBlockStartValue
impl UnwindSafe for ScrollPaddingBlockStartValue
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