pub(super) struct TraverseCoverageGraphWithLoops {
pub backedges: IndexVec<BasicCoverageBlock, Vec<BasicCoverageBlock>>,
pub context_stack: Vec<TraversalContext>,
visited: BitSet<BasicCoverageBlock>,
}
Fields§
§backedges: IndexVec<BasicCoverageBlock, Vec<BasicCoverageBlock>>
§context_stack: Vec<TraversalContext>
§visited: BitSet<BasicCoverageBlock>
Implementations§
source§impl TraverseCoverageGraphWithLoops
impl TraverseCoverageGraphWithLoops
pub fn new(basic_coverage_blocks: &CoverageGraph) -> Self
pub fn next(
&mut self,
basic_coverage_blocks: &CoverageGraph
) -> Option<BasicCoverageBlock>
pub fn extend_worklist(
&mut self,
basic_coverage_blocks: &CoverageGraph,
bcb: BasicCoverageBlock
)
pub fn is_complete(&self) -> bool
pub fn unvisited(&self) -> Vec<BasicCoverageBlock>
Auto Trait Implementations§
impl RefUnwindSafe for TraverseCoverageGraphWithLoops
impl Send for TraverseCoverageGraphWithLoops
impl Sync for TraverseCoverageGraphWithLoops
impl Unpin for TraverseCoverageGraphWithLoops
impl UnwindSafe for TraverseCoverageGraphWithLoops
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 80 bytes