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
blocks_count: usize
Number of basic blocks in the function (excluding the enter- and exit-blocks).
blocks_executed: usize
Number of basic blocks that has been executed (having non-zero count).
entry_count: u64
How many times the function is called.
exit_count: u64
How many times the function has returned.
branches_count: usize
Number of conditional branches in the function.
branches_executed: usize
Number of conditional basic blocks that has been executed.
branches_taken: usize
Number of branches that has been taken.
Trait Implementations
impl Copy for FunctionSummary
[src]
impl Copy for FunctionSummary
impl Clone for FunctionSummary
[src]
impl Clone for FunctionSummary
fn clone(&self) -> FunctionSummary
[src]
fn clone(&self) -> FunctionSummary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for FunctionSummary
[src]
impl PartialEq for FunctionSummary
fn eq(&self, other: &FunctionSummary) -> bool
[src]
fn eq(&self, other: &FunctionSummary) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FunctionSummary) -> bool
[src]
fn ne(&self, other: &FunctionSummary) -> bool
This method tests for !=
.
impl Eq for FunctionSummary
[src]
impl Eq for FunctionSummary
impl Hash for FunctionSummary
[src]
impl Hash for FunctionSummary
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for FunctionSummary
[src]
impl Debug for FunctionSummary
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for FunctionSummary
[src]
impl Default for FunctionSummary
fn default() -> FunctionSummary
[src]
fn default() -> FunctionSummary
Returns the "default value" for a type. Read more
impl SerializeWithInterner for FunctionSummary
[src]
impl SerializeWithInterner for FunctionSummary
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
_: &Interner
) -> Result<S::Ok, S::Error>
[src]
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
_: &Interner
) -> Result<S::Ok, S::Error>
Serializes this value with help from an [Interner
] that writes [Symbol
]s as strings. Read more
fn with_interner<'si>(
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
[src]
fn with_interner<'si>(
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
Adorns this object with a string interner. Read more
Auto Trait Implementations
impl Send for FunctionSummary
impl Send for FunctionSummary
impl Sync for FunctionSummary
impl Sync for FunctionSummary