Struct cov::report::FileSummary [−][src]
pub struct FileSummary { pub lines_count: usize, pub lines_covered: usize, pub branches_count: usize, pub branches_executed: usize, pub branches_taken: usize, pub functions_count: usize, pub functions_called: usize, }
Statistical summary of a file.
Fields
lines_count: usize
Number of lines that can be profiled.
lines_covered: usize
Number of lines that has been covered.
branches_count: usize
Number of conditional branches in functions defined in this file.
branches_executed: usize
Number of conditional basic blocks that has been executed.
branches_taken: usize
Number of branches that has been taken.
functions_count: usize
Number of functions defined in this file.
functions_called: usize
Number of functions that has been called.
Trait Implementations
impl Copy for FileSummary
[src]
impl Copy for FileSummary
impl Clone for FileSummary
[src]
impl Clone for FileSummary
fn clone(&self) -> FileSummary
[src]
fn clone(&self) -> FileSummary
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 FileSummary
[src]
impl PartialEq for FileSummary
fn eq(&self, other: &FileSummary) -> bool
[src]
fn eq(&self, other: &FileSummary) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FileSummary) -> bool
[src]
fn ne(&self, other: &FileSummary) -> bool
This method tests for !=
.
impl Eq for FileSummary
[src]
impl Eq for FileSummary
impl Hash for FileSummary
[src]
impl Hash for FileSummary
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 FileSummary
[src]
impl Debug for FileSummary
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 FileSummary
[src]
impl Default for FileSummary
fn default() -> FileSummary
[src]
fn default() -> FileSummary
Returns the "default value" for a type. Read more
impl SerializeWithInterner for FileSummary
[src]
impl SerializeWithInterner for FileSummary
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 FileSummary
impl Send for FileSummary
impl Sync for FileSummary
impl Sync for FileSummary