Struct cov::graph::Graph
[−]
[src]
pub struct Graph { /* fields omitted */ }
A counter graph. The graph records how many times an edge branching from one basic-block to another is hit.
Methods
impl Graph
[src]
fn merge(&mut self, gcov: Gcov) -> Result<()>
Merges a *.gcno
or *.gcda
file into the graph.
fn report(&self) -> Report
Obtains a coverage report from the graph.
impl Graph
[src]
fn analyze(&mut self)
Analyzes the graph to identify additional attributes of blocks.
Trait Implementations
impl Default for Graph
[src]
impl Debug for Graph
[src]
impl Clone for Graph
[src]
fn clone(&self) -> Graph
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Index<FunctionIndex> for Graph
[src]
type Output = FunctionInfo
The returned type after indexing
fn index(&self, index: FunctionIndex) -> &FunctionInfo
The method for the indexing (container[index]
) operation
impl IndexMut<FunctionIndex> for Graph
[src]
fn index_mut(&mut self, index: FunctionIndex) -> &mut FunctionInfo
The method for the mutable indexing (container[index]
) operation