pub struct ScrollPaddingLeftStyleValue(pub AutoOr<LengthPercentage>);Expand description
Represents the style value for scroll-padding-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:
auto | <length-percentage [0,∞]>Tuple Fields§
§0: AutoOr<LengthPercentage>Trait Implementations§
Source§impl Clone for ScrollPaddingLeftStyleValue
impl Clone for ScrollPaddingLeftStyleValue
Source§fn clone(&self) -> ScrollPaddingLeftStyleValue
fn clone(&self) -> ScrollPaddingLeftStyleValue
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 ScrollPaddingLeftStyleValue
impl Debug for ScrollPaddingLeftStyleValue
Source§impl Hash for ScrollPaddingLeftStyleValue
impl Hash for ScrollPaddingLeftStyleValue
Source§impl Ord for ScrollPaddingLeftStyleValue
impl Ord for ScrollPaddingLeftStyleValue
Source§fn cmp(&self, other: &ScrollPaddingLeftStyleValue) -> Ordering
fn cmp(&self, other: &ScrollPaddingLeftStyleValue) -> 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 ScrollPaddingLeftStyleValue
impl<'a> Parse<'a> for ScrollPaddingLeftStyleValue
Source§impl PartialOrd for ScrollPaddingLeftStyleValue
impl PartialOrd for ScrollPaddingLeftStyleValue
Source§impl<'a> Peek<'a> for ScrollPaddingLeftStyleValue
impl<'a> Peek<'a> for ScrollPaddingLeftStyleValue
Source§impl ToCursors for ScrollPaddingLeftStyleValue
impl ToCursors for ScrollPaddingLeftStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ScrollPaddingLeftStyleValue
impl StructuralPartialEq for ScrollPaddingLeftStyleValue
Auto Trait Implementations§
impl Freeze for ScrollPaddingLeftStyleValue
impl RefUnwindSafe for ScrollPaddingLeftStyleValue
impl Send for ScrollPaddingLeftStyleValue
impl Sync for ScrollPaddingLeftStyleValue
impl Unpin for ScrollPaddingLeftStyleValue
impl UnwindSafe for ScrollPaddingLeftStyleValue
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