Struct llvm_cov_json::FunctionSummary
source · pub struct FunctionSummary {
pub count: u64,
pub covered: u64,
pub percent: f32,
}Expand description
Summary of the functions metric.
Fields§
§count: u64Total number of function.
covered: u64Number of functions covered.
percent: f32Fraction of functions that have been covered in percent.
Trait Implementations§
source§impl Debug for FunctionSummary
impl Debug for FunctionSummary
source§impl<'de> Deserialize<'de> for FunctionSummary
impl<'de> Deserialize<'de> for FunctionSummary
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FunctionSummary
impl PartialEq for FunctionSummary
source§fn eq(&self, other: &FunctionSummary) -> bool
fn eq(&self, other: &FunctionSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FunctionSummary
Auto Trait Implementations§
impl RefUnwindSafe for FunctionSummary
impl Send for FunctionSummary
impl Sync for FunctionSummary
impl Unpin for FunctionSummary
impl UnwindSafe for FunctionSummary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more