pub struct RegisteredTest {
pub symbol: Symbol,
pub lib: Symbol,
pub test: Arc<dyn Test>,
pub subjects: Vec<Symbol>,
}Expand description
A registered test with its owning library and the subjects it covers.
Fields§
§symbol: SymbolSymbol naming the test.
lib: SymbolSymbol of the owning library.
test: Arc<dyn Test>The test implementation.
subjects: Vec<Symbol>Symbols of the exports this test exercises.
Trait Implementations§
Source§impl Clone for RegisteredTest
impl Clone for RegisteredTest
Source§fn clone(&self) -> RegisteredTest
fn clone(&self) -> RegisteredTest
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 !RefUnwindSafe for RegisteredTest
impl !UnwindSafe for RegisteredTest
impl Freeze for RegisteredTest
impl Send for RegisteredTest
impl Sync for RegisteredTest
impl Unpin for RegisteredTest
impl UnsafeUnpin for RegisteredTest
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