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