pub struct WgpuCompilationOptions {
pub supports_u64: bool,
pub supports_vulkan: bool,
pub vulkan: VulkanCompilationOptions,
}Fields§
§supports_u64: bool§supports_vulkan: boolWhether the Vulkan compiler is supported or we need to fall back to WGSL
vulkan: VulkanCompilationOptionsTrait Implementations§
Source§impl Clone for WgpuCompilationOptions
impl Clone for WgpuCompilationOptions
Source§fn clone(&self) -> WgpuCompilationOptions
fn clone(&self) -> WgpuCompilationOptions
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 WgpuCompilationOptions
impl Debug for WgpuCompilationOptions
Source§impl Default for WgpuCompilationOptions
impl Default for WgpuCompilationOptions
Source§fn default() -> WgpuCompilationOptions
fn default() -> WgpuCompilationOptions
Returns the “default value” for a type. Read more
impl Copy for WgpuCompilationOptions
Auto Trait Implementations§
impl Freeze for WgpuCompilationOptions
impl RefUnwindSafe for WgpuCompilationOptions
impl Send for WgpuCompilationOptions
impl Sync for WgpuCompilationOptions
impl Unpin for WgpuCompilationOptions
impl UnsafeUnpin for WgpuCompilationOptions
impl UnwindSafe for WgpuCompilationOptions
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