Struct rustc_middle::mir::query::CoverageInfo [−][src]
Expand description
Coverage information summarized from a MIR if instrumented for source code coverage (see
compiler option -Zinstrument-coverage). This information is generated by the
InstrumentCoverage MIR pass and can be retrieved via the coverageinfo query.
Fields
num_counters: u32The total number of coverage region counters added to the MIR Body.
num_expressions: u32The total number of coverage region counter expressions added to the MIR Body.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CoverageInfoimpl Send for CoverageInfoimpl Sync for CoverageInfoimpl Unpin for CoverageInfoimpl UnwindSafe for CoverageInfoBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 8 bytes