pub trait TryParseWithArgs<T, O = Self, O2 = O>where
O2: ParseWithArgs<T, O>,{
// Provided method
fn try_parse_with(
lexer: &mut Lexer,
errors: &mut Vec<Error>,
args: T,
) -> Option<O> { ... }
}Expand description
A wrapper trait for ParseWithArgs where it would reset the lexer’s state
upon failure.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.