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