pub trait GpuViewExt {
// Required method
fn renderer<R: GpuRenderer>(
self,
make: impl Fn() -> R + Send + Sync + 'static,
) -> Self;
}Expand description
A GPU view’s renderer, given by a Rust element.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".