Struct lcov_parser::line::Line
[−]
[src]
pub struct Line { /* fields omitted */ }
Methods
impl Line
[src]
pub fn new(
line_number: LineNumber,
execution_count: ExecutionCount,
checksum: Option<CheckSum>
) -> Self
[src]
line_number: LineNumber,
execution_count: ExecutionCount,
checksum: Option<CheckSum>
) -> Self
pub fn line_number(&self) -> &LineNumber
[src]
pub fn execution_count(&self) -> &ExecutionCount
[src]
pub fn checksum(&self) -> Option<&CheckSum>
[src]
pub fn has_checkshum(&self) -> bool
[src]
pub fn is_hit(&self) -> bool
[src]
Trait Implementations
impl Debug for Line
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Line
[src]
impl Clone for Line
[src]
fn clone(&self) -> Line
[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<'a> From<&'a LineData> for Line
[src]
impl PartialEq for Line
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.