pub struct BranchCoverage {
pub line: usize,
pub branch_id: usize,
pub taken: bool,
pub hits: usize,
}Expand description
Branch-level code coverage information
Fields§
§line: usizeLine number where the branch occurs
branch_id: usizeUnique identifier for this branch within the line
taken: boolWhether this branch was taken at least once
hits: usizeNumber of times this branch was executed
Trait Implementations§
Source§impl Clone for BranchCoverage
impl Clone for BranchCoverage
Source§fn clone(&self) -> BranchCoverage
fn clone(&self) -> BranchCoverage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BranchCoverage
impl RefUnwindSafe for BranchCoverage
impl Send for BranchCoverage
impl Sync for BranchCoverage
impl Unpin for BranchCoverage
impl UnsafeUnpin for BranchCoverage
impl UnwindSafe for BranchCoverage
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