#[non_exhaustive]pub enum ScrollSnapAlign {
Center,
End,
None,
Start,
Raw(Raw),
}Expand description
A value of scroll-snap-align.
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 ScrollSnapAlign
impl Clone for ScrollSnapAlign
Source§fn clone(&self) -> ScrollSnapAlign
fn clone(&self) -> ScrollSnapAlign
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 ScrollSnapAlign
impl Debug for ScrollSnapAlign
Source§impl Display for ScrollSnapAlign
impl Display for ScrollSnapAlign
Source§impl From<Raw> for ScrollSnapAlign
impl From<Raw> for ScrollSnapAlign
Source§impl PartialEq for ScrollSnapAlign
impl PartialEq for ScrollSnapAlign
impl StructuralPartialEq for ScrollSnapAlign
Auto Trait Implementations§
impl Freeze for ScrollSnapAlign
impl RefUnwindSafe for ScrollSnapAlign
impl Send for ScrollSnapAlign
impl Sync for ScrollSnapAlign
impl Unpin for ScrollSnapAlign
impl UnsafeUnpin for ScrollSnapAlign
impl UnwindSafe for ScrollSnapAlign
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