Trait fast_escape::ContainsChar [] [src]

pub trait ContainsChar {
    fn contains_char(&self, c: char) -> bool;

    fn union<T: ContainsChar>(self, other: T) -> Union<Self, T>
    where
        Self: Sized
, { ... } }

Represents set of chars used for configuring Escaper.

Required Methods

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

Provided Methods

Combinator for creating unions of the sets.

Implementors