pub struct SpanDedupDiagnostic(Mutex<FxHashSet<Span>>);Expand description
Helps deduplicate a diagnostic to ensure it is only shown once per span.
Tuple Fields§
§0: Mutex<FxHashSet<Span>>Implementations§
Auto Trait Implementations§
impl !Freeze for SpanDedupDiagnostic
impl RefUnwindSafe for SpanDedupDiagnostic
impl Send for SpanDedupDiagnostic
impl Sync for SpanDedupDiagnostic
impl Unpin for SpanDedupDiagnostic
impl UnwindSafe for SpanDedupDiagnostic
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes