Struct path2regex::ParserOptions
source · Expand description
The Configuration of the Parser
Fields§
§delimiter: String
Set the default delimiter for repeat parameters. (default: '/'
)
prefixes: String
List of characters to automatically consider prefixes when parsing.
Trait Implementations§
source§impl Clone for ParserOptions
impl Clone for ParserOptions
source§fn clone(&self) -> ParserOptions
fn clone(&self) -> ParserOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParserOptions
impl Debug for ParserOptions
source§impl Default for ParserOptions
impl Default for ParserOptions
source§impl Display for ParserOptions
impl Display for ParserOptions
source§impl From<CompilerOptions> for ParserOptions
impl From<CompilerOptions> for ParserOptions
source§fn from(options: CompilerOptions) -> Self
fn from(options: CompilerOptions) -> Self
Converts to this type from the input type.
source§impl From<PathRegexOptions> for ParserOptions
impl From<PathRegexOptions> for ParserOptions
source§fn from(options: PathRegexOptions) -> Self
fn from(options: PathRegexOptions) -> Self
Converts to this type from the input type.