Module raw

Module raw 

Source
Expand description

This module encapsulates the fields of the RawReport, RawReportRef, and RawReportMut. Since this is the only place they are visible, this means that the ptr field of all three types is always guaranteed to come from a triomphe::Arc<ReportData<C>>. This follows from the fact that there are no places where the ptr field is altered after creation (besides invalidating it after it should no longer be used).

Structsยง

RawReport
A pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.
RawReportMut
A mutable lifetime-bound pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.
RawReportRef
A lifetime-bound pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.