pub enum SnappedScrollStateFeature {
WithValue(LeftParen, Ident, Colon, SnappedScrollStateFeatureKeyword, RightParen),
Bare(LeftParen, Ident, RightParen),
}Variants§
WithValue(LeftParen, Ident, Colon, SnappedScrollStateFeatureKeyword, RightParen)
Bare(LeftParen, Ident, RightParen)
Trait Implementations§
Source§impl Clone for SnappedScrollStateFeature
impl Clone for SnappedScrollStateFeature
Source§fn clone(&self) -> SnappedScrollStateFeature
fn clone(&self) -> SnappedScrollStateFeature
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 SnappedScrollStateFeature
impl Debug for SnappedScrollStateFeature
Source§impl<'a> DiscreteFeature<'a> for SnappedScrollStateFeature
impl<'a> DiscreteFeature<'a> for SnappedScrollStateFeature
type Value = SnappedScrollStateFeatureKeyword
fn parse_discrete_feature<I>( p: &mut Parser<'a, I>, atom: &'static dyn DynAtomSet, ) -> Result<(LeftParen, Ident, Option<(Colon, Self::Value)>, RightParen), Diagnostic>
Source§impl Hash for SnappedScrollStateFeature
impl Hash for SnappedScrollStateFeature
Source§impl Ord for SnappedScrollStateFeature
impl Ord for SnappedScrollStateFeature
Source§fn cmp(&self, other: &SnappedScrollStateFeature) -> Ordering
fn cmp(&self, other: &SnappedScrollStateFeature) -> 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 SnappedScrollStateFeature
impl<'a> Parse<'a> for SnappedScrollStateFeature
Source§impl PartialOrd for SnappedScrollStateFeature
impl PartialOrd for SnappedScrollStateFeature
Source§impl<'a> Peek<'a> for SnappedScrollStateFeature
impl<'a> Peek<'a> for SnappedScrollStateFeature
Source§impl ToCursors for SnappedScrollStateFeature
impl ToCursors for SnappedScrollStateFeature
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for SnappedScrollStateFeature
impl Eq for SnappedScrollStateFeature
impl StructuralPartialEq for SnappedScrollStateFeature
Auto Trait Implementations§
impl Freeze for SnappedScrollStateFeature
impl RefUnwindSafe for SnappedScrollStateFeature
impl Send for SnappedScrollStateFeature
impl Sync for SnappedScrollStateFeature
impl Unpin for SnappedScrollStateFeature
impl UnwindSafe for SnappedScrollStateFeature
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