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