[−][src]Enum rustc_codegen_llvm::llvm_::ffi::coverageinfo::RegionKind

#[repr(C)]pub enum RegionKind {
    CodeRegion,
    ExpansionRegion,
    SkippedRegion,
    GapRegion,
}

Aligns with llvm::coverage::CounterMappingRegion::RegionKind

Variants

CodeRegion

A CodeRegion associates some code with a counter

ExpansionRegion

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.

SkippedRegion

A SkippedRegion represents a source range with code that was skipped by a preprocessor or similar means.

GapRegion

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

impl Clone for RegionKind[src]

impl Copy for RegionKind[src]

impl Debug for RegionKind[src]

Auto Trait Implementations

impl RefUnwindSafe for RegionKind

impl Send for RegionKind

impl Sync for RegionKind

impl Unpin for RegionKind

impl UnwindSafe for RegionKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.