Struct move_compiler::unit_test::TestPlan
source · [−]pub struct TestPlan {
pub files: FilesSourceText,
pub module_tests: BTreeMap<ModuleId, ModuleTestPlan>,
pub module_info: BTreeMap<ModuleId, NamedCompiledModule>,
}Fields
files: FilesSourceTextmodule_tests: BTreeMap<ModuleId, ModuleTestPlan>module_info: BTreeMap<ModuleId, NamedCompiledModule>Implementations
sourceimpl TestPlan
impl TestPlan
pub fn new(
tests: Vec<ModuleTestPlan>,
files: FilesSourceText,
units: Vec<AnnotatedCompiledUnit>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TestPlan
impl Send for TestPlan
impl Sync for TestPlan
impl Unpin for TestPlan
impl UnwindSafe for TestPlan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more