pub struct NoContext;Trait Implementations§
Source§impl ParseContext for NoContext
impl ParseContext for NoContext
Source§fn show_context(&self, out: &mut String)
fn show_context(&self, out: &mut String)
Shows the error with the context in the original string.
original_input must be the original string on which this
error is based (so that position matches up).impl Copy for NoContext
impl StructuralPartialEq for NoContext
Auto Trait Implementations§
impl Freeze for NoContext
impl RefUnwindSafe for NoContext
impl Send for NoContext
impl Sync for NoContext
impl Unpin for NoContext
impl UnwindSafe for NoContext
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