pub enum ScrollMarginInlineStartValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Length(Length),
}Variants§
Implementations§
Source§impl ScrollMarginInlineStartValue
impl ScrollMarginInlineStartValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is ScrollMarginInlineStartValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is ScrollMarginInlineStartValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is ScrollMarginInlineStartValue::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 ScrollMarginInlineStartValue::RevertLayer otherwise false
Trait Implementations§
Source§impl Clone for ScrollMarginInlineStartValue
impl Clone for ScrollMarginInlineStartValue
Source§fn clone(&self) -> ScrollMarginInlineStartValue
fn clone(&self) -> ScrollMarginInlineStartValue
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 ScrollMarginInlineStartValue
impl Debug for ScrollMarginInlineStartValue
Source§impl PartialEq for ScrollMarginInlineStartValue
impl PartialEq for ScrollMarginInlineStartValue
Source§fn eq(&self, other: &ScrollMarginInlineStartValue) -> bool
fn eq(&self, other: &ScrollMarginInlineStartValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScrollMarginInlineStartValue
impl UnitDataType<ScrollMarginInlineStart<ScrollMarginInlineStartValue>> for ScrollMarginInlineStartValue
Auto Trait Implementations§
impl Freeze for ScrollMarginInlineStartValue
impl RefUnwindSafe for ScrollMarginInlineStartValue
impl Send for ScrollMarginInlineStartValue
impl Sync for ScrollMarginInlineStartValue
impl Unpin for ScrollMarginInlineStartValue
impl UnwindSafe for ScrollMarginInlineStartValue
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