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 Freeze for FilteredTests
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
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more