pub struct PreparedDiagnostic<'a> {
pub snapshot: DiagnosticSnapshot,
pub sources: LayeredSourceProvider<'a>,
}Expand description
A prepared snapshot paired with the exact source universes it references.
Fields§
§snapshot: DiagnosticSnapshot§sources: LayeredSourceProvider<'a>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PreparedDiagnostic<'a>
impl<'a> !Send for PreparedDiagnostic<'a>
impl<'a> !Sync for PreparedDiagnostic<'a>
impl<'a> !UnwindSafe for PreparedDiagnostic<'a>
impl<'a> Forget for PreparedDiagnostic<'a>
impl<'a> Freeze for PreparedDiagnostic<'a>
impl<'a> Move for PreparedDiagnostic<'a>
impl<'a> Unpin for PreparedDiagnostic<'a>
impl<'a> UnsafeUnpin for PreparedDiagnostic<'a>
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