Struct path2regex::ParserBuilder
source · pub struct ParserBuilder(_);
Expand description
The Builder of the Parser
Implementations
sourceimpl ParserBuilder
impl ParserBuilder
sourcepub fn set_delimiter<S>(&mut self, delimiter: S) -> &mut Selfwhere
S: AsRef<str>,
pub fn set_delimiter<S>(&mut self, delimiter: S) -> &mut Selfwhere
S: AsRef<str>,
Set the default delimiter for repeat parameters. (default: '/'
)
sourcepub fn set_prefixes<S>(&mut self, prefixes: S) -> &mut Selfwhere
S: AsRef<str>,
pub fn set_prefixes<S>(&mut self, prefixes: S) -> &mut Selfwhere
S: AsRef<str>,
List of characters to automatically consider prefixes when parsing.
Trait Implementations
sourceimpl Clone for ParserBuilder
impl Clone for ParserBuilder
sourcefn clone(&self) -> ParserBuilder
fn clone(&self) -> ParserBuilder
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 ParserBuilder
impl Debug for ParserBuilder
Auto Trait Implementations
impl RefUnwindSafe for ParserBuilder
impl Send for ParserBuilder
impl Sync for ParserBuilder
impl Unpin for ParserBuilder
impl UnwindSafe for ParserBuilder
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