Struct llvm_cov_json::BranchSummary
source · pub struct BranchSummary {
pub count: u64,
pub covered: u64,
pub notcovered: u64,
pub percent: f32,
}Expand description
Summary of the branches metric.
Fields§
§count: u64Total number of branches that cloud potentially be covered,
covered: u64Number of covered branches.
notcovered: u64Number of the branches that have not been covered.
percent: f32The fraction of branches covered in percent.
Trait Implementations§
source§impl Debug for BranchSummary
impl Debug for BranchSummary
source§impl<'de> Deserialize<'de> for BranchSummary
impl<'de> Deserialize<'de> for BranchSummary
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 BranchSummary
impl PartialEq for BranchSummary
source§fn eq(&self, other: &BranchSummary) -> bool
fn eq(&self, other: &BranchSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BranchSummary
Auto Trait Implementations§
impl RefUnwindSafe for BranchSummary
impl Send for BranchSummary
impl Sync for BranchSummary
impl Unpin for BranchSummary
impl UnwindSafe for BranchSummary
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