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