Struct path2regex::Compiler
source · pub struct Compiler { /* private fields */ }
Available on crate feature
compile
only.Expand description
Path compiler
Implementations§
source§impl Compiler
impl Compiler
sourcepub fn new<I>(path: I) -> Result<Compiler>where
I: TryIntoWith<Vec<Token>, ParserOptions>,
pub fn new<I>(path: I) -> Result<Compiler>where
I: TryIntoWith<Vec<Token>, ParserOptions>,
Create a Compiler
with the options
sourcepub fn new_with_options<I>(path: I, options: CompilerOptions) -> Result<Compiler>where
I: TryIntoWith<Vec<Token>, ParserOptions>,
pub fn new_with_options<I>(path: I, options: CompilerOptions) -> Result<Compiler>where
I: TryIntoWith<Vec<Token>, ParserOptions>,
Create a Compiler
with the options