Struct lcov_parser::function::Function
[−]
[src]
pub struct Function { /* fields omitted */ }
Methods
impl Function
[src]
fn new(name: FunctionName,
line_number: LineNumber,
execution_count: ExecutionCount)
-> Self
line_number: LineNumber,
execution_count: ExecutionCount)
-> Self
fn name(&self) -> &FunctionName
fn line_number(&self) -> &LineNumber
fn execution_count(&self) -> &ExecutionCount
fn is_hit(&self) -> bool
Trait Implementations
impl Debug for Function
[src]
impl Clone for Function
[src]
fn clone(&self) -> Function
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<'a> From<&'a FunctionData> for Function
[src]
fn from(function_data: &'a FunctionData) -> Self
Performs the conversion.
impl<'a> From<&'a FunctionNameRecord> for Function
[src]
fn from(function_name: &'a FunctionNameRecord) -> Self
Performs the conversion.