pub struct ParseResult {
pub decls: Vec<Decl>,
pub errors: Vec<(usize, usize)>,
}Expand description
what parsing a source text yields: the declarations and the syntax errors
Fields§
§decls: Vec<Decl>the declarations, in source order
errors: Vec<(usize, usize)>the syntax errors, as zero-based (row, column)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ParseResult
impl !Send for ParseResult
impl !Sync for ParseResult
impl !UnwindSafe for ParseResult
impl Forget for ParseResult
impl Freeze for ParseResult
impl Move for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
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