Struct cov::report::File
[−]
[src]
pub struct File { pub lines: BTreeMap<u32, Line>, pub functions: Vec<Function>, }
Coverage information about a source file.
Fields
lines: BTreeMap<u32, Line>
Lines in the file.
functions: Vec<Function>
Functions in the file.
Methods
impl File
[src]
fn summary(&self) -> FileSummary
[src]
Produces a summary of the current file.
Trait Implementations
impl Clone for File
[src]
fn clone(&self) -> File
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for File
[src]
fn eq(&self, __arg_0: &File) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &File) -> bool
[src]
This method tests for !=
.
impl Eq for File
[src]
impl Hash for File
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for File
[src]
impl Default for File
[src]
impl SerializeWithInterner for File
[src]
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
interner: &Interner
) -> Result<S::Ok, S::Error>
[src]
&self,
serializer: S,
interner: &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]
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
Adorns this object with a string interner. Read more