pub struct PathRegexBuilder<S> { /* private fields */ }
Expand description

The Builder of the PathRegex

Implementations§

Create a PathRegex Builder

Create a builder of the PathRegex with the options

build a builder of the PathRegex

List of characters to automatically consider prefixes when parsing.

When true the regexp will be case sensitive. (default: false)

When true the regexp won’t allow an optional trailing delimiter to match. (default: false)

When true the regexp will match to the end of the string. (default: true)

When true the regexp will match from the beginning of the string. (default: true)

Set the default delimiter for repeat parameters. (default: '/#?')

List of characters that can also be “end” characters.

Function for encoding input strings for output.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.