Enum rustc_codegen_llvm::llvm::coverageinfo::RegionKind [−][src]
#[repr(C)]
pub enum RegionKind {
CodeRegion,
ExpansionRegion,
SkippedRegion,
GapRegion,
}Expand description
Aligns with llvm::coverage::CounterMappingRegion::RegionKind
Variants
A CodeRegion associates some code with a counter
An ExpansionRegion represents a file expansion region that associates a source range with the expansion of a virtual source file, such as for a macro instantiation or #include file.
A SkippedRegion represents a source range with code that was skipped by a preprocessor or similar means.
A GapRegion is like a CodeRegion, but its count is only set as the line execution count when its the only region in the line.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RegionKindimpl Send for RegionKindimpl Sync for RegionKindimpl Unpin for RegionKindimpl UnwindSafe for RegionKindBlanket 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: 4 bytes