pub struct SpannedNote<FileId> {
pub severity: Severity,
pub message: String,
pub labels: Vec<Label<FileId>>,
}
Fields§
§severity: Severity
§message: String
§labels: Vec<Label<FileId>>
Trait Implementations§
Source§impl<FileId: Clone> Clone for SpannedNote<FileId>
impl<FileId: Clone> Clone for SpannedNote<FileId>
Source§fn clone(&self) -> SpannedNote<FileId>
fn clone(&self) -> SpannedNote<FileId>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<FileId: Debug> Debug for SpannedNote<FileId>
impl<FileId: Debug> Debug for SpannedNote<FileId>
Source§impl<FileId: PartialEq> PartialEq for SpannedNote<FileId>
impl<FileId: PartialEq> PartialEq for SpannedNote<FileId>
impl<FileId: Eq> Eq for SpannedNote<FileId>
impl<FileId> StructuralPartialEq for SpannedNote<FileId>
Auto Trait Implementations§
impl<FileId> Freeze for SpannedNote<FileId>
impl<FileId> RefUnwindSafe for SpannedNote<FileId>where
FileId: RefUnwindSafe,
impl<FileId> Send for SpannedNote<FileId>where
FileId: Send,
impl<FileId> Sync for SpannedNote<FileId>where
FileId: Sync,
impl<FileId> Unpin for SpannedNote<FileId>where
FileId: Unpin,
impl<FileId> UnwindSafe for SpannedNote<FileId>where
FileId: UnwindSafe,
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