pub struct ParserReturn<'a, T>where
T: ToCursors,{
pub output: Option<T>,
pub source_text: &'a str,
pub errors: Vec<Error>,
pub trivia: Vec<Cursor>,
/* private fields */
}
Fields§
§output: Option<T>
§source_text: &'a str
§errors: Vec<Error>
§trivia: Vec<Cursor>
Implementations§
Trait Implementations§
Source§impl<'a, T> Debug for ParserReturn<'a, T>
impl<'a, T> Debug for ParserReturn<'a, T>
Source§impl<T: ToCursors> ToCursors for ParserReturn<'_, T>
impl<T: ToCursors> ToCursors for ParserReturn<'_, T>
fn to_cursors(&self, s: &mut impl CursorSink)
Auto Trait Implementations§
impl<'a, T> Freeze for ParserReturn<'a, T>where
T: Freeze,
impl<'a, T> !RefUnwindSafe for ParserReturn<'a, T>
impl<'a, T> Send for ParserReturn<'a, T>where
T: Send,
impl<'a, T> Sync for ParserReturn<'a, T>where
T: Sync,
impl<'a, T> Unpin for ParserReturn<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for ParserReturn<'a, T>
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