pub struct TestReachCounts {
pub direct: usize,
pub transitive: usize,
pub mocked_only: usize,
pub none: usize,
pub none_file: usize,
pub framework: usize,
}Expand description
Number of changed exports per reach class. The keys are exactly the
TestReachClass values.
Fields§
§direct: usizeExports that a test file references.
transitive: usizeExports that tests reach only through other modules.
mocked_only: usizeExports that only mocking tests reference.
none: usizeExports in a test-reached file without a test-reachable reference.
none_file: usizeExports in a file that no test loads.
framework: usizeFramework configuration exports.
Implementations§
Source§impl TestReachCounts
impl TestReachCounts
Sourcepub const fn add(&mut self, class: TestReachClass)
pub const fn add(&mut self, class: TestReachClass)
Count one export of class.
Trait Implementations§
Source§impl Clone for TestReachCounts
impl Clone for TestReachCounts
impl Copy for TestReachCounts
Source§impl Debug for TestReachCounts
impl Debug for TestReachCounts
Source§impl Default for TestReachCounts
impl Default for TestReachCounts
impl Eq for TestReachCounts
Source§impl PartialEq for TestReachCounts
impl PartialEq for TestReachCounts
Source§impl Serialize for TestReachCounts
impl Serialize for TestReachCounts
impl StructuralPartialEq for TestReachCounts
Auto Trait Implementations§
impl Freeze for TestReachCounts
impl RefUnwindSafe for TestReachCounts
impl Send for TestReachCounts
impl Sync for TestReachCounts
impl Unpin for TestReachCounts
impl UnsafeUnpin for TestReachCounts
impl UnwindSafe for TestReachCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.