pub enum ScrollSnapAlignStyleValueKeywords {
None(Ident),
Start(Ident),
End(Ident),
Center(Ident),
}Variants§
Trait Implementations§
Source§impl Clone for ScrollSnapAlignStyleValueKeywords
impl Clone for ScrollSnapAlignStyleValueKeywords
Source§fn clone(&self) -> ScrollSnapAlignStyleValueKeywords
fn clone(&self) -> ScrollSnapAlignStyleValueKeywords
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 ScrollSnapAlignStyleValueKeywords
impl Ord for ScrollSnapAlignStyleValueKeywords
Source§fn cmp(&self, other: &ScrollSnapAlignStyleValueKeywords) -> Ordering
fn cmp(&self, other: &ScrollSnapAlignStyleValueKeywords) -> 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 ScrollSnapAlignStyleValueKeywords
impl<'a> Parse<'a> for ScrollSnapAlignStyleValueKeywords
Source§impl PartialEq for ScrollSnapAlignStyleValueKeywords
impl PartialEq for ScrollSnapAlignStyleValueKeywords
Source§fn eq(&self, other: &ScrollSnapAlignStyleValueKeywords) -> bool
fn eq(&self, other: &ScrollSnapAlignStyleValueKeywords) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScrollSnapAlignStyleValueKeywords
impl PartialOrd for ScrollSnapAlignStyleValueKeywords
Source§impl<'a> Peek<'a> for ScrollSnapAlignStyleValueKeywords
impl<'a> Peek<'a> for ScrollSnapAlignStyleValueKeywords
Source§impl SemanticEq for ScrollSnapAlignStyleValueKeywords
impl SemanticEq for ScrollSnapAlignStyleValueKeywords
Source§fn semantic_eq(&self, other: &Self) -> bool
fn semantic_eq(&self, other: &Self) -> bool
Returns
true if self and other are semantically equal.Source§impl ToCursors for ScrollSnapAlignStyleValueKeywords
impl ToCursors for ScrollSnapAlignStyleValueKeywords
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for ScrollSnapAlignStyleValueKeywords
impl Eq for ScrollSnapAlignStyleValueKeywords
impl StructuralPartialEq for ScrollSnapAlignStyleValueKeywords
Auto Trait Implementations§
impl Freeze for ScrollSnapAlignStyleValueKeywords
impl RefUnwindSafe for ScrollSnapAlignStyleValueKeywords
impl Send for ScrollSnapAlignStyleValueKeywords
impl Sync for ScrollSnapAlignStyleValueKeywords
impl Unpin for ScrollSnapAlignStyleValueKeywords
impl UnwindSafe for ScrollSnapAlignStyleValueKeywords
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