(editor_api: &'a EditorApi<T>)
| 59 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 60 | f.debug_struct("WgpuExecutor").field("context", &self.context()).finish() |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | impl<'a, T: ApplicationIo<Executor = WgpuExecutor>> From<&'a EditorApi<T>> for &'a WgpuExecutor { |
| 65 | fn from(editor_api: &'a EditorApi<T>) -> Self { |
| 66 | editor_api.application_io.as_ref().unwrap().gpu_executor().unwrap() |
nothing calls this directly
no test coverage detected