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
impl Copy for WgpuCompilationOptions
Source§impl Debug for WgpuCompilationOptions
impl Debug 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