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