Struct cov::report::Line [−][src]
Coverage information about a source line of code.
Fields
count: u64
Number of times this line is executed.
This is the number of times all branches targeting the basic block containing this line has been taken.
attr: BlockAttr
Attributes associated with this line.
branches: Vec<Branch>
List of branches this line will lead to.
Trait Implementations
impl Clone for Line
[src]
impl Clone for Line
fn clone(&self) -> Line
[src]
fn clone(&self) -> Line
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 Line
[src]
impl PartialEq for Line
fn eq(&self, other: &Line) -> bool
[src]
fn eq(&self, other: &Line) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Line) -> bool
[src]
fn ne(&self, other: &Line) -> bool
This method tests for !=
.
impl Eq for Line
[src]
impl Eq for Line
impl Hash for Line
[src]
impl Hash for Line
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 Line
[src]
impl Debug for Line
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 Line
[src]
impl Default for Line
impl SerializeWithInterner for Line
[src]
impl SerializeWithInterner for Line
fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
interner: &Interner
) -> Result<S::Ok, S::Error>
[src]
fn serialize_with_interner<S: Serializer>(
&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]
fn with_interner<'si>(
&self,
interner: &'si Interner
) -> WithInterner<'si, &Self>
Adorns this object with a string interner. Read more