pub struct ParserOptions {
pub delimiter: String,
pub prefixes: String,
}
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.
Source§impl TryIntoWith<Vec<Token>, ParserOptions> for &str
impl TryIntoWith<Vec<Token>, ParserOptions> for &str
fn try_into_with(self, options: &ParserOptions) -> Result<Vec<Token>>
Source§impl TryIntoWith<Vec<Token>, ParserOptions> for String
impl TryIntoWith<Vec<Token>, ParserOptions> for String
fn try_into_with(self, options: &ParserOptions) -> Result<Vec<Token>>
Source§impl TryIntoWith<Vec<Token>, ParserOptions> for Vec<Token>
impl TryIntoWith<Vec<Token>, ParserOptions> for Vec<Token>
fn try_into_with(self, _: &ParserOptions) -> Result<Vec<Token>>
Auto Trait Implementations§
impl Freeze for ParserOptions
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnwindSafe for ParserOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more