Struct fast_escape::Predicate
[−]
[src]
pub struct Predicate<F: Fn(char) -> bool>(pub F);
Set defined by given predicate (function).
Trait Implementations
impl<F: Fn(char) -> bool> ContainsChar for Predicate<F>
[src]
fn contains_char(&self, c: char) -> bool
Returns true if the set represented by the type contains c
.
fn union<T: ContainsChar>(self, other: T) -> Union<Self, T> where
Self: Sized,
Self: Sized,
Combinator for creating unions of the sets.