pub struct TestList<'a> {
pub tests: &'a [&'a TestDescAndFn],
pub order: TestListOrder,
}🔬This is a nightly-only experimental API. (
test)Expand description
A list of tests, tagged with whether they are sorted by name.
Fields§
§tests: &'a [&'a TestDescAndFn]🔬This is a nightly-only experimental API. (
§test)order: TestListOrder🔬This is a nightly-only experimental API. (
test)Implementations§
Source§impl<'a> TestList<'a>
impl<'a> TestList<'a>
pub fn new(tests: &'a [&'a TestDescAndFn], order: TestListOrder) -> Self
🔬This is a nightly-only experimental API. (
test)Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TestList<'a>
impl<'a> !UnwindSafe for TestList<'a>
impl<'a> Freeze for TestList<'a>
impl<'a> Send for TestList<'a>
impl<'a> Sync for TestList<'a>
impl<'a> Unpin for TestList<'a>
impl<'a> UnsafeUnpin for TestList<'a>
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