pub struct CoverageResult {
pub unit_id: u64,
pub direct_tests: Vec<u64>,
pub indirect_tests: Vec<u64>,
pub coverage_ratio: f32,
}Expand description
Result of a test coverage query.
Fields§
§unit_id: u64The unit being queried.
direct_tests: Vec<u64>Direct tests (test units with a Tests edge to this unit).
indirect_tests: Vec<u64>Indirect tests (tests of callers).
coverage_ratio: f32Estimated coverage ratio (0.0–1.0).
Trait Implementations§
Source§impl Clone for CoverageResult
impl Clone for CoverageResult
Source§fn clone(&self) -> CoverageResult
fn clone(&self) -> CoverageResult
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 CoverageResult
impl RefUnwindSafe for CoverageResult
impl Send for CoverageResult
impl Sync for CoverageResult
impl Unpin for CoverageResult
impl UnsafeUnpin for CoverageResult
impl UnwindSafe for CoverageResult
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