pub enum ScrollStateQuery<'a> {
Is(ScrollStateFeature),
Not(Ident, ScrollStateFeature),
And(Vec<'a, (ScrollStateFeature, Option<Ident>)>),
Or(Vec<'a, (ScrollStateFeature, Option<Ident>)>),
}Variants§
Is(ScrollStateFeature)
Not(Ident, ScrollStateFeature)
And(Vec<'a, (ScrollStateFeature, Option<Ident>)>)
Or(Vec<'a, (ScrollStateFeature, Option<Ident>)>)
Trait Implementations§
Source§impl<'a> Clone for ScrollStateQuery<'a>
impl<'a> Clone for ScrollStateQuery<'a>
Source§fn clone(&self) -> ScrollStateQuery<'a>
fn clone(&self) -> ScrollStateQuery<'a>
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<'a> Debug for ScrollStateQuery<'a>
impl<'a> Debug for ScrollStateQuery<'a>
Source§impl<'a> FeatureConditionList<'a> for ScrollStateQuery<'a>
impl<'a> FeatureConditionList<'a> for ScrollStateQuery<'a>
type FeatureCondition = ScrollStateFeature
fn keyword_is_not<I>(p: &Parser<'a, I>, c: Cursor) -> bool
fn keyword_is_and<I>(p: &Parser<'a, I>, c: Cursor) -> bool
fn keyword_is_or<I>(p: &Parser<'a, I>, c: Cursor) -> bool
fn build_is(feature: ScrollStateFeature) -> Self
fn build_not(keyword: Ident, feature: ScrollStateFeature) -> Self
fn build_and(feature: Vec<'a, (ScrollStateFeature, Option<Ident>)>) -> Self
fn build_or(feature: Vec<'a, (ScrollStateFeature, Option<Ident>)>) -> Self
fn parse_condition<I>(p: &mut Parser<'a, I>) -> Result<Self, Diagnostic>
Source§impl<'a> Hash for ScrollStateQuery<'a>
impl<'a> Hash for ScrollStateQuery<'a>
Source§impl<'a> Ord for ScrollStateQuery<'a>
impl<'a> Ord for ScrollStateQuery<'a>
Source§fn cmp(&self, other: &ScrollStateQuery<'a>) -> Ordering
fn cmp(&self, other: &ScrollStateQuery<'a>) -> 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 ScrollStateQuery<'a>
impl<'a> Parse<'a> for ScrollStateQuery<'a>
Source§impl<'a> PartialEq for ScrollStateQuery<'a>
impl<'a> PartialEq for ScrollStateQuery<'a>
Source§impl<'a> PartialOrd for ScrollStateQuery<'a>
impl<'a> PartialOrd for ScrollStateQuery<'a>
Source§impl<'a> ToCursors for ScrollStateQuery<'a>
impl<'a> ToCursors for ScrollStateQuery<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ScrollStateQuery<'a>
impl<'a> StructuralPartialEq for ScrollStateQuery<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScrollStateQuery<'a>
impl<'a> !RefUnwindSafe for ScrollStateQuery<'a>
impl<'a> !Send for ScrollStateQuery<'a>
impl<'a> !Sync for ScrollStateQuery<'a>
impl<'a> Unpin for ScrollStateQuery<'a>
impl<'a> !UnwindSafe for ScrollStateQuery<'a>
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