pub struct ParserGuard<'a> { /* private fields */ }Expand description
RAII guard that returns a parser to its pool on drop.
Implementations§
Source§impl ParserGuard<'_>
impl ParserGuard<'_>
pub fn parser_mut(&mut self) -> &mut Parser
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParserGuard<'a>
impl<'a> RefUnwindSafe for ParserGuard<'a>
impl<'a> Send for ParserGuard<'a>
impl<'a> Sync for ParserGuard<'a>
impl<'a> Unpin for ParserGuard<'a>
impl<'a> UnsafeUnpin for ParserGuard<'a>
impl<'a> UnwindSafe for ParserGuard<'a>
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