Struct lcov_parser::branch::Branch
[−]
[src]
pub struct Branch { /* fields omitted */ }
Methods
impl Branch
[src]
pub fn new(
line_number: LineNumber,
block: u32,
branch: u32,
execution_count: ExecutionCount
) -> Self
[src]
line_number: LineNumber,
block: u32,
branch: u32,
execution_count: ExecutionCount
) -> Self
pub fn line_number(&self) -> &LineNumber
[src]
pub fn block(&self) -> &u32
[src]
pub fn branch(&self) -> &u32
[src]
pub fn execution_count(&self) -> &ExecutionCount
[src]
Trait Implementations
impl Debug for Branch
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Branch
[src]
fn clone(&self) -> Branch
[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 PartialEq<BranchData> for Branch
[src]
fn eq(&self, data: &BranchData) -> 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 !=
.
impl PartialEq<Branch> for Branch
[src]
fn eq(&self, other: &Branch) -> 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 !=
.
impl<'a> From<&'a BranchData> for Branch
[src]
fn from(data: &'a BranchData) -> Self
[src]
Performs the conversion.