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