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