PredicateOp

Trait PredicateOp 

Source
pub trait PredicateOp:
    Parser
    + ToTokens
    + Clone
    + 'static { }
Expand description

Marker trait for compile-time parser predicates.

All predicate types are zero-sized with no runtime cost. The 'static bound is required for type identity checking with PredicateCmp.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl PredicateOp for Disable

Source§

impl PredicateOp for Enable

Source§

impl PredicateOp for TokensRemain

Source§

impl<A, B, C, D> PredicateOp for AllOf<A, B, C, D>

Source§

impl<A, B, C, D> PredicateOp for AnyOf<A, B, C, D>

Source§

impl<A, B, C, D> PredicateOp for OneOf<A, B, C, D>

Source§

impl<A, B, Same, Different> PredicateOp for PredicateCmp<A, B, Same, Different>
where A: PredicateOp, B: PredicateOp, Same: PredicateOp, Different: PredicateOp,

Source§

impl<T> PredicateOp for Not<T>
where T: PredicateOp,