Enum naga::back::spv::ZeroInitializeWorkgroupMemoryMode
source · pub enum ZeroInitializeWorkgroupMemoryMode {
Native,
Polyfill,
None,
}
Variants§
Native
Via VK_KHR_zero_initialize_workgroup_memory
or Vulkan 1.3
Polyfill
Via assignments + barrier
None
Trait Implementations§
source§impl Clone for ZeroInitializeWorkgroupMemoryMode
impl Clone for ZeroInitializeWorkgroupMemoryMode
source§fn clone(&self) -> ZeroInitializeWorkgroupMemoryMode
fn clone(&self) -> ZeroInitializeWorkgroupMemoryMode
Returns a copy 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 PartialEq for ZeroInitializeWorkgroupMemoryMode
impl PartialEq for ZeroInitializeWorkgroupMemoryMode
source§fn eq(&self, other: &ZeroInitializeWorkgroupMemoryMode) -> bool
fn eq(&self, other: &ZeroInitializeWorkgroupMemoryMode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ZeroInitializeWorkgroupMemoryMode
impl Eq for ZeroInitializeWorkgroupMemoryMode
impl StructuralPartialEq for ZeroInitializeWorkgroupMemoryMode
Auto Trait Implementations§
impl Freeze for ZeroInitializeWorkgroupMemoryMode
impl RefUnwindSafe for ZeroInitializeWorkgroupMemoryMode
impl Send for ZeroInitializeWorkgroupMemoryMode
impl Sync for ZeroInitializeWorkgroupMemoryMode
impl Unpin for ZeroInitializeWorkgroupMemoryMode
impl UnwindSafe for ZeroInitializeWorkgroupMemoryMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.