pub trait Pred<Input: View + ?Sized>: Viewwhere
Self::V: SpecPred<<Input as View>::V>,{
// Required method
exec fn apply(&self, i: &Input) -> res : bool;
}Expand description
All predicates to be used in Refined combinator must implement this trait.