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
sourceimpl Clone for ParserOptions
impl Clone for ParserOptions
sourcefn clone(&self) -> ParserOptions
fn clone(&self) -> ParserOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParserOptions
impl Debug for ParserOptions
sourceimpl Default for ParserOptions
impl Default for ParserOptions
sourceimpl Display for ParserOptions
impl Display for ParserOptions
sourceimpl From<CompilerOptions> for ParserOptions
impl From<CompilerOptions> for ParserOptions
sourcefn from(options: CompilerOptions) -> Self
fn from(options: CompilerOptions) -> Self
Converts to this type from the input type.
sourceimpl From<PathRegexOptions> for ParserOptions
impl From<PathRegexOptions> for ParserOptions
sourcefn from(options: PathRegexOptions) -> Self
fn from(options: PathRegexOptions) -> Self
Converts to this type from the input type.
sourceimpl TryIntoWith<Vec<Token, Global>, ParserOptions> for &str
impl TryIntoWith<Vec<Token, Global>, ParserOptions> for &str
fn try_into_with(self, options: &ParserOptions) -> Result<Vec<Token>>
sourceimpl TryIntoWith<Vec<Token, Global>, ParserOptions> for String
impl TryIntoWith<Vec<Token, Global>, ParserOptions> for String
fn try_into_with(self, options: &ParserOptions) -> Result<Vec<Token>>
sourceimpl TryIntoWith<Vec<Token, Global>, ParserOptions> for Vec<Token>
impl TryIntoWith<Vec<Token, Global>, ParserOptions> for Vec<Token>
fn try_into_with(self, _: &ParserOptions) -> Result<Vec<Token>>
Auto Trait Implementations
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnwindSafe for ParserOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more