pub struct ScrollMarginRightStyleValue(pub Length);Expand description
Represents the style value for scroll-margin-right 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 ScrollMarginRightStyleValue
impl Clone for ScrollMarginRightStyleValue
Source§fn clone(&self) -> ScrollMarginRightStyleValue
fn clone(&self) -> ScrollMarginRightStyleValue
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 ScrollMarginRightStyleValue
impl Debug for ScrollMarginRightStyleValue
Source§impl Hash for ScrollMarginRightStyleValue
impl Hash for ScrollMarginRightStyleValue
Source§impl Ord for ScrollMarginRightStyleValue
impl Ord for ScrollMarginRightStyleValue
Source§fn cmp(&self, other: &ScrollMarginRightStyleValue) -> Ordering
fn cmp(&self, other: &ScrollMarginRightStyleValue) -> 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 ScrollMarginRightStyleValue
impl<'a> Parse<'a> for ScrollMarginRightStyleValue
Source§impl PartialOrd for ScrollMarginRightStyleValue
impl PartialOrd for ScrollMarginRightStyleValue
Source§impl<'a> Peek<'a> for ScrollMarginRightStyleValue
impl<'a> Peek<'a> for ScrollMarginRightStyleValue
Source§impl ToCursors for ScrollMarginRightStyleValue
impl ToCursors for ScrollMarginRightStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollMarginRightStyleValue
impl StructuralPartialEq for ScrollMarginRightStyleValue
Auto Trait Implementations§
impl Freeze for ScrollMarginRightStyleValue
impl RefUnwindSafe for ScrollMarginRightStyleValue
impl Send for ScrollMarginRightStyleValue
impl Sync for ScrollMarginRightStyleValue
impl Unpin for ScrollMarginRightStyleValue
impl UnwindSafe for ScrollMarginRightStyleValue
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