Struct test::FilteredTests
source · pub(crate) struct FilteredTests {
pub(crate) tests: Vec<(TestId, TestDescAndFn)>,
pub(crate) benches: Vec<(TestId, TestDescAndFn)>,
pub(crate) next_id: usize,
}
🔬This is a nightly-only experimental API. (
test
)Fields§
§tests: Vec<(TestId, TestDescAndFn)>
🔬This is a nightly-only experimental API. (
§test
)benches: Vec<(TestId, TestDescAndFn)>
🔬This is a nightly-only experimental API. (
§test
)next_id: usize
🔬This is a nightly-only experimental API. (
test
)Implementations§
source§impl FilteredTests
impl FilteredTests
pub(crate) fn add_bench(&mut self, desc: TestDesc, testfn: TestFn)
🔬This is a nightly-only experimental API. (
test
)pub(crate) fn add_test(&mut self, desc: TestDesc, testfn: TestFn)
🔬This is a nightly-only experimental API. (
test
)pub(crate) fn total_len(&self) -> usize
🔬This is a nightly-only experimental API. (
test
)Auto Trait Implementations§
impl !RefUnwindSafe for FilteredTests
impl Send for FilteredTests
impl !Sync for FilteredTests
impl Unpin for FilteredTests
impl !UnwindSafe for FilteredTests
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