Struct cov::report::FunctionSummary[][src]

pub struct FunctionSummary {
    pub blocks_count: usize,
    pub blocks_executed: usize,
    pub entry_count: u64,
    pub exit_count: u64,
    pub branches_count: usize,
    pub branches_executed: usize,
    pub branches_taken: usize,
}

Statistical summary of a function.

Fields

Number of basic blocks in the function (excluding the enter- and exit-blocks).

Number of basic blocks that has been executed (having non-zero count).

How many times the function is called.

How many times the function has returned.

Number of conditional branches in the function.

Number of conditional basic blocks that has been executed.

Number of branches that has been taken.

Trait Implementations

impl Copy for FunctionSummary
[src]

impl Clone for FunctionSummary
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FunctionSummary
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FunctionSummary
[src]

impl Hash for FunctionSummary
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for FunctionSummary
[src]

Formats the value using the given formatter. Read more

impl Default for FunctionSummary
[src]

Returns the "default value" for a type. Read more

impl SerializeWithInterner for FunctionSummary
[src]

Serializes this value with help from an [Interner] that writes [Symbol]s as strings. Read more

Adorns this object with a string interner. Read more

Auto Trait Implementations