Enum rustc_codegen_llvm::llvm_::ffi::coverageinfo::RegionKind [−][src]
#[repr(C)]
pub enum RegionKind {
CodeRegion,
ExpansionRegion,
SkippedRegion,
GapRegion,
}Expand description
Aligns with llvm::coverage::CounterMappingRegion::RegionKind
Variants
Expand description
A CodeRegion associates some code with a counter
Expand description
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.
Expand description
A SkippedRegion represents a source range with code that was skipped by a preprocessor or similar means.
Expand description
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 Clone for RegionKind[src]fn clone(&self) -> RegionKind[src]
fn clone(&self) -> RegionKind[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for RegionKind[src]
impl Debug for RegionKind[src]impl Copy 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more