pub enum TestCodeEvidence {
Marker,
Path,
}Expand description
Why a unit or group is recognised as test code.
A marker is stronger than a path. For a group, the value is present only
when every member is test code; it is Marker when any member has marker
evidence and Path only when every member has path evidence.
Variants§
Marker
The source declares the test with a language or framework marker.
Path
The file’s path matches a configured test-path convention.
Implementations§
Trait Implementations§
Source§impl Clone for TestCodeEvidence
impl Clone for TestCodeEvidence
Source§fn clone(&self) -> TestCodeEvidence
fn clone(&self) -> TestCodeEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TestCodeEvidence
Source§impl Debug for TestCodeEvidence
impl Debug for TestCodeEvidence
impl Eq for TestCodeEvidence
Source§impl PartialEq for TestCodeEvidence
impl PartialEq for TestCodeEvidence
Source§impl Serialize for TestCodeEvidence
impl Serialize for TestCodeEvidence
impl StructuralPartialEq for TestCodeEvidence
Auto Trait Implementations§
impl Freeze for TestCodeEvidence
impl RefUnwindSafe for TestCodeEvidence
impl Send for TestCodeEvidence
impl Sync for TestCodeEvidence
impl Unpin for TestCodeEvidence
impl UnsafeUnpin for TestCodeEvidence
impl UnwindSafe for TestCodeEvidence
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.