Struct cov::raw::Lines [−][src]
pub struct Lines { pub block_number: BlockIndex, pub lines: Vec<Line>, }
Information about source lines covered by a basic block.
Fields
block_number: BlockIndex
The basic block which contains these source information.
lines: Vec<Line>
The line numebers. The vector typically starts with a FileName
, followed by many LineNumber
s.
Trait Implementations
impl Clone for Lines
[src]
impl Clone for Lines
fn clone(&self) -> Lines
[src]
fn clone(&self) -> Lines
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Lines
[src]
impl PartialEq for Lines
fn eq(&self, other: &Lines) -> bool
[src]
fn eq(&self, other: &Lines) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Lines) -> bool
[src]
fn ne(&self, other: &Lines) -> bool
This method tests for !=
.
impl Eq for Lines
[src]
impl Eq for Lines
impl Hash for Lines
[src]
impl Hash for Lines
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Lines
[src]
impl Debug for Lines
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 SerializeWithInterner for Lines
[src]
impl SerializeWithInterner for Lines
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