pub struct TreeErrorContext<I, C = StrContext> {
pub input: I,
pub context: C,
}
Available on crate feature
std
only.Expand description
Fields§
§input: I
Parsed input, at the location where the error occurred
context: C
Trait Implementations§
Auto Trait Implementations§
impl<I, C> Freeze for TreeErrorContext<I, C>
impl<I, C> RefUnwindSafe for TreeErrorContext<I, C>where
I: RefUnwindSafe,
C: RefUnwindSafe,
impl<I, C> Send for TreeErrorContext<I, C>
impl<I, C> Sync for TreeErrorContext<I, C>
impl<I, C> Unpin for TreeErrorContext<I, C>
impl<I, C> UnwindSafe for TreeErrorContext<I, C>where
I: UnwindSafe,
C: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.