pub struct ScrollMarginBottomStyleValue(pub Length);Expand description
Represents the style value for scroll-margin-bottom as defined in css-scroll-snap-2.
CSS scroll snap controls the panning and scrolling behavior within a scroll container.
The grammar is defined as:
<length>Tuple Fields§
§0: LengthTrait Implementations§
Source§impl Clone for ScrollMarginBottomStyleValue
impl Clone for ScrollMarginBottomStyleValue
Source§fn clone(&self) -> ScrollMarginBottomStyleValue
fn clone(&self) -> ScrollMarginBottomStyleValue
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 ScrollMarginBottomStyleValue
impl Debug for ScrollMarginBottomStyleValue
Source§impl Hash for ScrollMarginBottomStyleValue
impl Hash for ScrollMarginBottomStyleValue
Source§impl Ord for ScrollMarginBottomStyleValue
impl Ord for ScrollMarginBottomStyleValue
Source§fn cmp(&self, other: &ScrollMarginBottomStyleValue) -> Ordering
fn cmp(&self, other: &ScrollMarginBottomStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for ScrollMarginBottomStyleValue
impl<'a> Parse<'a> for ScrollMarginBottomStyleValue
Source§impl PartialEq for ScrollMarginBottomStyleValue
impl PartialEq for ScrollMarginBottomStyleValue
Source§fn eq(&self, other: &ScrollMarginBottomStyleValue) -> bool
fn eq(&self, other: &ScrollMarginBottomStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScrollMarginBottomStyleValue
impl PartialOrd for ScrollMarginBottomStyleValue
Source§impl<'a> Peek<'a> for ScrollMarginBottomStyleValue
impl<'a> Peek<'a> for ScrollMarginBottomStyleValue
Source§impl ToCursors for ScrollMarginBottomStyleValue
impl ToCursors for ScrollMarginBottomStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollMarginBottomStyleValue
impl StructuralPartialEq for ScrollMarginBottomStyleValue
Auto Trait Implementations§
impl Freeze for ScrollMarginBottomStyleValue
impl RefUnwindSafe for ScrollMarginBottomStyleValue
impl Send for ScrollMarginBottomStyleValue
impl Sync for ScrollMarginBottomStyleValue
impl Unpin for ScrollMarginBottomStyleValue
impl UnwindSafe for ScrollMarginBottomStyleValue
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