Struct lcov_parser::function::Function
[−]
[src]
pub struct Function { /* fields omitted */ }
Methods
impl Function[src]
pub fn new(
name: FunctionName,
line_number: LineNumber,
execution_count: ExecutionCount
) -> Self[src]
name: FunctionName,
line_number: LineNumber,
execution_count: ExecutionCount
) -> Self
pub fn name(&self) -> &FunctionName[src]
pub fn line_number(&self) -> &LineNumber[src]
pub fn execution_count(&self) -> &ExecutionCount[src]
pub fn is_hit(&self) -> bool[src]
Trait Implementations
impl Summary<FunctionName, Function> for Functions[src]
fn iter(&self) -> Iter<FunctionName, Function>[src]
fn contains_key(&self, key: &FunctionName) -> bool[src]
fn get(&self, key: &FunctionName) -> Option<&Function>[src]
fn len(&self) -> usize[src]
fn is_empty(&self) -> bool[src]
impl Debug for Function[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Function[src]
fn clone(&self) -> Function[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 FunctionData> for Function[src]
fn from(function_data: &'a FunctionData) -> Self[src]
Performs the conversion.
impl<'a> From<&'a FunctionNameRecord> for Function[src]
fn from(function_name: &'a FunctionNameRecord) -> Self[src]
Performs the conversion.