pub enum ParsePrepare {
Context(ContextParsePrepare),
WithInstance(ParsePrepareWithInstance),
}Expand description
Pre-parse hook. The context-only form preserves the original Rust API;
WithInstance exposes the owning parser and caller metadata carried by
the canonical callback contract.
Variants§
Context(ContextParsePrepare)
WithInstance(ParsePrepareWithInstance)
Trait Implementations§
Source§impl Clone for ParsePrepare
impl Clone for ParsePrepare
Auto Trait Implementations§
impl !RefUnwindSafe for ParsePrepare
impl !UnwindSafe for ParsePrepare
impl Freeze for ParsePrepare
impl Send for ParsePrepare
impl Sync for ParsePrepare
impl Unpin for ParsePrepare
impl UnsafeUnpin for ParsePrepare
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