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