pub struct ParseError {
pub description: String,
pub note: Option<String>,
pub label: String,
pub span: Range<usize>,
pub secondary_label: Option<(String, Range<usize>)>,
pub suggestion: Suggestion,
}Fields§
§description: String§note: Option<String>§label: String§span: Range<usize>§secondary_label: Option<(String, Range<usize>)>§suggestion: SuggestionAuto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnsafeUnpin 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