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