pub struct RustTestRefAnalysis {
pub definitions: Vec<RustCodeDefinition>,
pub test_references: HashSet<String>,
pub call_references: HashSet<String>,
pub propagated_references: HashSet<String>,
pub unreferenced: Vec<RustCodeDefinition>,
pub coverage_map: HashMap<(PathBuf, String), Vec<CoveringTest>>,
}Fields§
§definitions: Vec<RustCodeDefinition>§test_references: HashSet<String>§call_references: HashSet<String>§propagated_references: HashSet<String>§unreferenced: Vec<RustCodeDefinition>§coverage_map: HashMap<(PathBuf, String), Vec<CoveringTest>>For each covered definition (file, name), the list of tests that reference it.
Trait Implementations§
Source§impl Clone for RustTestRefAnalysis
impl Clone for RustTestRefAnalysis
Source§fn clone(&self) -> RustTestRefAnalysis
fn clone(&self) -> RustTestRefAnalysis
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 moreAuto Trait Implementations§
impl Freeze for RustTestRefAnalysis
impl RefUnwindSafe for RustTestRefAnalysis
impl Send for RustTestRefAnalysis
impl Sync for RustTestRefAnalysis
impl Unpin for RustTestRefAnalysis
impl UnsafeUnpin for RustTestRefAnalysis
impl UnwindSafe for RustTestRefAnalysis
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more