pub enum Subdiagnostic<FileId> {
Suggestion(Suggestion<FileId>),
SpannedNote(SpannedNote<FileId>),
}
Variants§
Suggestion(Suggestion<FileId>)
SpannedNote(SpannedNote<FileId>)
Trait Implementations§
Source§impl<FileId: Clone> Clone for Subdiagnostic<FileId>
impl<FileId: Clone> Clone for Subdiagnostic<FileId>
Source§fn clone(&self) -> Subdiagnostic<FileId>
fn clone(&self) -> Subdiagnostic<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 Subdiagnostic<FileId>
impl<FileId: Debug> Debug for Subdiagnostic<FileId>
Source§impl<FileId: PartialEq> PartialEq for Subdiagnostic<FileId>
impl<FileId: PartialEq> PartialEq for Subdiagnostic<FileId>
impl<FileId: Eq> Eq for Subdiagnostic<FileId>
impl<FileId> StructuralPartialEq for Subdiagnostic<FileId>
Auto Trait Implementations§
impl<FileId> Freeze for Subdiagnostic<FileId>where
FileId: Freeze,
impl<FileId> RefUnwindSafe for Subdiagnostic<FileId>where
FileId: RefUnwindSafe,
impl<FileId> Send for Subdiagnostic<FileId>where
FileId: Send,
impl<FileId> Sync for Subdiagnostic<FileId>where
FileId: Sync,
impl<FileId> Unpin for Subdiagnostic<FileId>where
FileId: Unpin,
impl<FileId> UnwindSafe for Subdiagnostic<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