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]

Returns true if the set represented by the type contains c.

Combinator for creating unions of the sets.