Struct rust_sitter::errors::ParseError
source · pub struct ParseError {
pub reason: ParseErrorReason,
pub start: usize,
pub end: usize,
}Expand description
An error that occurred during parsing.
Fields§
§reason: ParseErrorReason§start: usizeInclusive start of the error.
end: usizeExclusive end of the error.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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