pub struct WgpuCompilationOptions {
pub supports_u64: bool,
pub supports_vulkan_compiler: bool,
pub vulkan: VulkanCompilationOptions,
}Fields§
§supports_u64: bool§supports_vulkan_compiler: 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WgpuCompilationOptions
Source§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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneExpand for Twhere
T: Clone,
impl<T> CloneExpand for Twhere
T: Clone,
fn __expand_clone_method(&self, _: &Scope) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more