[−][src]Trait like::Escape
Convert the pattern to use standard backslash escape convention.
Associated Types
type Err
The associated error which can be returned from pattern matching.
type Output
The output type of conversion.
Required methods
fn escape(&self, esc: &Self) -> Result<Self::Output, Self::Err>
Change if self
have a escape character.
Returns new pattern if there are any escape characters in the pattern.