Struct flowistry_pdg::rustc::mir::CoverageInfo
source · pub struct CoverageInfo {
pub num_counters: u32,
pub num_expressions: u32,
}
Expand description
Coverage information summarized from a MIR if instrumented for source code coverage (see
compiler option -Cinstrument-coverage
). This information is generated by the
InstrumentCoverage
MIR pass and can be retrieved via the coverageinfo
query.
Fields§
§num_counters: u32
The total number of coverage region counters added to the MIR Body
.
num_expressions: u32
The total number of coverage region counter expressions added to the MIR Body
.
Auto Trait Implementations§
impl RefUnwindSafe for CoverageInfo
impl Send for CoverageInfo
impl Sync for CoverageInfo
impl Unpin for CoverageInfo
impl UnwindSafe for CoverageInfo
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