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