[−][src]Struct rustc_mir::transform::instrument_coverage::BasicCoverageBlocks
Fields
vec: IndexVec<BasicBlock, Option<BasicCoverageBlock>>Implementations
impl BasicCoverageBlocks[src]
pub fn from_mir<'tcx>(mir_body: &Body<'tcx>) -> Self[src]
pub fn iter(&self) -> impl Iterator<Item = &BasicCoverageBlock>[src]
fn extract_from_mir<'tcx>(&mut self, mir_body: &Body<'tcx>)[src]
fn add_basic_coverage_block(&mut self, blocks: Vec<BasicBlock>)[src]
Trait Implementations
impl Index<BasicBlock> for BasicCoverageBlocks[src]
type Output = BasicCoverageBlock
The returned type after indexing.
fn index(&self, index: BasicBlock) -> &Self::Output[src]
Auto Trait Implementations
impl RefUnwindSafe for BasicCoverageBlocks
impl Send for BasicCoverageBlocks
impl Sync for BasicCoverageBlocks
impl Unpin for BasicCoverageBlocks
impl UnwindSafe for BasicCoverageBlocks
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.