Struct cdp::profiler::FunctionCoverage
[−]
[src]
pub struct FunctionCoverage<'a> { pub function_name: Cow<'a, str>, pub ranges: Vec<CoverageRange>, pub is_block_coverage: bool, }
[Experimental] Coverage data for a JavaScript function.
Fields
function_name: Cow<'a, str>
JavaScript function name.
ranges: Vec<CoverageRange>
Source ranges inside the function with coverage data.
is_block_coverage: bool
Whether coverage data for this function has block granularity.
Trait Implementations
impl<'a> Clone for FunctionCoverage<'a>
[src]
fn clone(&self) -> FunctionCoverage<'a>
[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> Debug for FunctionCoverage<'a>
[src]
impl<'a> PartialEq for FunctionCoverage<'a>
[src]
fn eq(&self, __arg_0: &FunctionCoverage<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FunctionCoverage<'a>) -> bool
[src]
This method tests for !=
.