Struct lcov_parser::branch::Branch
[−]
[src]
pub struct Branch { /* fields omitted */ }
Methods
impl Branch
[src]
fn new(line_number: LineNumber,
block: u32,
branch: u32,
execution_count: ExecutionCount)
-> Self
block: u32,
branch: u32,
execution_count: ExecutionCount)
-> Self
fn line_number(&self) -> &LineNumber
fn block(&self) -> &u32
fn branch(&self) -> &u32
fn execution_count(&self) -> &ExecutionCount
Trait Implementations
impl Debug for Branch
[src]
impl Clone for Branch
[src]
fn clone(&self) -> Branch
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<BranchData> for Branch
[src]
fn eq(&self, data: &BranchData) -> bool
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
This method tests for !=
.
impl PartialEq<Branch> for Branch
[src]
fn eq(&self, other: &Branch) -> bool
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
This method tests for !=
.
impl<'a> From<&'a BranchData> for Branch
[src]
fn from(data: &'a BranchData) -> Self
Performs the conversion.