#[non_exhaustive]pub enum ScrollSnapStop {
Always,
Normal,
}Expand description
A value of scroll-snap-stop.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ScrollSnapStop
impl Clone for ScrollSnapStop
Source§fn clone(&self) -> ScrollSnapStop
fn clone(&self) -> ScrollSnapStop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScrollSnapStop
impl Debug for ScrollSnapStop
Source§impl Display for ScrollSnapStop
impl Display for ScrollSnapStop
Source§impl PartialEq for ScrollSnapStop
impl PartialEq for ScrollSnapStop
impl StructuralPartialEq for ScrollSnapStop
Auto Trait Implementations§
impl Freeze for ScrollSnapStop
impl RefUnwindSafe for ScrollSnapStop
impl Send for ScrollSnapStop
impl Sync for ScrollSnapStop
impl Unpin for ScrollSnapStop
impl UnsafeUnpin for ScrollSnapStop
impl UnwindSafe for ScrollSnapStop
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