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