pub struct WgpuEnvHints {
pub backend: Option<String>,
pub adapter_name: Option<String>,
pub power_pref: Option<String>,
pub rust_log: Option<String>,
}Expand description
Optional WGPU env hints for tooling; consumers can apply these to the environment or log them.
Fields§
§backend: Option<String>§adapter_name: Option<String>§power_pref: Option<String>§rust_log: Option<String>Implementations§
Source§impl WgpuEnvHints
impl WgpuEnvHints
Trait Implementations§
Source§impl Clone for WgpuEnvHints
impl Clone for WgpuEnvHints
Source§fn clone(&self) -> WgpuEnvHints
fn clone(&self) -> WgpuEnvHints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WgpuEnvHints
impl Debug for WgpuEnvHints
Source§impl Default for WgpuEnvHints
impl Default for WgpuEnvHints
Source§fn default() -> WgpuEnvHints
fn default() -> WgpuEnvHints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WgpuEnvHints
impl RefUnwindSafe for WgpuEnvHints
impl Send for WgpuEnvHints
impl Sync for WgpuEnvHints
impl Unpin for WgpuEnvHints
impl UnwindSafe for WgpuEnvHints
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