pub struct ScrollMarginInlineEndStyleValue(pub Length);Expand description
Represents the style value for scroll-margin-inline-end 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 ScrollMarginInlineEndStyleValue
impl Clone for ScrollMarginInlineEndStyleValue
Source§fn clone(&self) -> ScrollMarginInlineEndStyleValue
fn clone(&self) -> ScrollMarginInlineEndStyleValue
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 Ord for ScrollMarginInlineEndStyleValue
impl Ord for ScrollMarginInlineEndStyleValue
Source§fn cmp(&self, other: &ScrollMarginInlineEndStyleValue) -> Ordering
fn cmp(&self, other: &ScrollMarginInlineEndStyleValue) -> 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 ScrollMarginInlineEndStyleValue
impl<'a> Parse<'a> for ScrollMarginInlineEndStyleValue
Source§impl PartialEq for ScrollMarginInlineEndStyleValue
impl PartialEq for ScrollMarginInlineEndStyleValue
Source§fn eq(&self, other: &ScrollMarginInlineEndStyleValue) -> bool
fn eq(&self, other: &ScrollMarginInlineEndStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScrollMarginInlineEndStyleValue
impl PartialOrd for ScrollMarginInlineEndStyleValue
Source§impl<'a> Peek<'a> for ScrollMarginInlineEndStyleValue
impl<'a> Peek<'a> for ScrollMarginInlineEndStyleValue
Source§impl ToCursors for ScrollMarginInlineEndStyleValue
impl ToCursors for ScrollMarginInlineEndStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollMarginInlineEndStyleValue
impl StructuralPartialEq for ScrollMarginInlineEndStyleValue
Auto Trait Implementations§
impl Freeze for ScrollMarginInlineEndStyleValue
impl RefUnwindSafe for ScrollMarginInlineEndStyleValue
impl Send for ScrollMarginInlineEndStyleValue
impl Sync for ScrollMarginInlineEndStyleValue
impl Unpin for ScrollMarginInlineEndStyleValue
impl UnwindSafe for ScrollMarginInlineEndStyleValue
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