pub struct DiagnosticOccurrence { /* private fields */ }Expand description
Read-only correlation, not delivery confirmation or execution authority.
ⓘ
use saddle_core::DiagnosticOccurrence;
let forged = DiagnosticOccurrence { diagnostic_id: 1, primary_diagnostic_id: None };Implementations§
Source§impl DiagnosticOccurrence
impl DiagnosticOccurrence
Sourcepub fn matches_bounded_diagnostic(&self, diagnostic: &BoundedDiagnostic) -> bool
pub fn matches_bounded_diagnostic(&self, diagnostic: &BoundedDiagnostic) -> bool
Compare a fixed-size capture with its original source submission.
Sourcepub fn matches_diagnostic(&self, diagnostic: &Diagnostic) -> bool
pub fn matches_diagnostic(&self, diagnostic: &Diagnostic) -> bool
Compare source identity while allowing a later cleanup association.
Trait Implementations§
Source§impl Clone for DiagnosticOccurrence
impl Clone for DiagnosticOccurrence
impl Copy for DiagnosticOccurrence
Auto Trait Implementations§
impl Freeze for DiagnosticOccurrence
impl RefUnwindSafe for DiagnosticOccurrence
impl Send for DiagnosticOccurrence
impl Sync for DiagnosticOccurrence
impl Unpin for DiagnosticOccurrence
impl UnsafeUnpin for DiagnosticOccurrence
impl UnwindSafe for DiagnosticOccurrence
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