pub struct TestList {
pub tests: Vec<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: Vec<TestDescAndFn>🔬This is a nightly-only experimental API. (
§test)order: TestListOrder🔬This is a nightly-only experimental API. (
test)Implementations§
Source§impl TestList
impl TestList
pub fn new(tests: Vec<TestDescAndFn>, order: TestListOrder) -> Self
🔬This is a nightly-only experimental API. (
test)Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestList
impl !RefUnwindSafe for TestList
impl Send for TestList
impl !Sync for TestList
impl Unpin for TestList
impl UnsafeUnpin for TestList
impl !UnwindSafe for TestList
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