struct NativeTest {
name: String,
future: Pin<Box<dyn Future<Output = ()> + Send>>,
}
Fields§
§name: String
§future: Pin<Box<dyn Future<Output = ()> + Send>>
Implementations§
Source§impl NativeTest
impl NativeTest
Sourcefn from_configuration(
config: GpuTestConfiguration,
adapter_report: AdapterReport,
adapter_index: usize,
) -> Self
fn from_configuration( config: GpuTestConfiguration, adapter_report: AdapterReport, adapter_index: usize, ) -> Self
Adapter index is only used for naming the test, the adapters are matched based on the adapter info.
pub fn into_trial(self) -> Trial
Auto Trait Implementations§
impl Freeze for NativeTest
impl !RefUnwindSafe for NativeTest
impl Send for NativeTest
impl !Sync for NativeTest
impl Unpin for NativeTest
impl !UnwindSafe for NativeTest
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