Struct cov::raw::Gcov
[−]
[src]
pub struct Gcov { pub ty: Type, pub version: Version, pub checksum: u32, pub records: Vec<Record>, }
The raw file.
Fields
ty: Type
version: Version
checksum: u32
records: Vec<Record>
Methods
impl Gcov
[src]
fn open<P: AsRef<Path>>(p: P, interner: &mut Interner) -> Result<Gcov>
Parses the header of a file with file name, and creates a new gcov reader.
Trait Implementations
impl Clone for Gcov
[src]
fn clone(&self) -> Gcov
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 PartialEq for Gcov
[src]
fn eq(&self, __arg_0: &Gcov) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Gcov) -> bool
This method tests for !=
.
impl Eq for Gcov
[src]
impl Hash for Gcov
[src]
fn hash<__H: Hasher>(&self, __arg_0: &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
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more