pub trait Escape {
    type Err;
    type Output;
    fn escape(&self, esc: &Self) -> Result<Self::Output, Self::Err>;
}
Expand description

Convert the pattern to use standard backslash escape convention.

Associated Types

The associated error which can be returned from pattern matching.

The output type of conversion.

Required methods

Change if self have a escape character.

Returns new pattern if there are any escape characters in the pattern.

Implementations on Foreign Types

Implementors