pub struct ErrorNote {
pub variant: ErrorNoteVariant,
pub text: String,
pub range: Option<Range>,
}Fields§
§variant: ErrorNoteVariantThe variant (type) of the note.
text: StringThe text of the note
range: Option<Range>The range of the error, within the source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorNote
impl RefUnwindSafe for ErrorNote
impl Send for ErrorNote
impl Sync for ErrorNote
impl Unpin for ErrorNote
impl UnwindSafe for ErrorNote
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