pub trait PowerPreferenceWgpu {
// Required method
fn to_wgpu(self) -> PowerPreference;
}Expand description
PowerPreference → wgpu::PowerPreference.
Required Methods§
fn to_wgpu(self) -> PowerPreference
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".