pub enum TestAdjacency {
None,
Untouched,
Changed,
}Expand description
Whether a changed source unit has a test file importing it, and whether that
test moved with the change. A direct-importer fact from the graph, not a
coverage claim: untouched says a test exists and was not edited, which is
the verification question the reviewer asks the author, never an answer.
Variants§
None
No test file imports this unit directly.
Untouched
A test file imports this unit, and none of those tests is in the diff.
Changed
A test file imports this unit and at least one of those tests is in the diff.
Trait Implementations§
Source§impl Clone for TestAdjacency
impl Clone for TestAdjacency
impl Copy for TestAdjacency
Source§impl Debug for TestAdjacency
impl Debug for TestAdjacency
impl Eq for TestAdjacency
Source§impl PartialEq for TestAdjacency
impl PartialEq for TestAdjacency
Source§impl Serialize for TestAdjacency
impl Serialize for TestAdjacency
impl StructuralPartialEq for TestAdjacency
Auto Trait Implementations§
impl Freeze for TestAdjacency
impl RefUnwindSafe for TestAdjacency
impl Send for TestAdjacency
impl Sync for TestAdjacency
impl Unpin for TestAdjacency
impl UnsafeUnpin for TestAdjacency
impl UnwindSafe for TestAdjacency
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.