[−][src]Struct rustc_mir::transform::coverage::graph::TraversalContext
Maintains separate worklists for each loop in the BasicCoverageBlock CFG, plus one for the CoverageGraph outside all loops. This supports traversing the BCB CFG in a way that ensures a loop is completely traversed before processing Blocks after the end of the loop.
Fields
loop_backedges: Option<(Vec<BasicCoverageBlock>, BasicCoverageBlock)>From one or more backedges returning to a loop header.
worklist: Vec<BasicCoverageBlock>worklist, to be traversed, of CoverageGraph in the loop with the given loop backedges, such that the loop is the inner inner-most loop containing these CoverageGraph
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraversalContext[src]
impl Send for TraversalContext[src]
impl Sync for TraversalContext[src]
impl Unpin for TraversalContext[src]
impl UnwindSafe for TraversalContext[src]
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.