pub struct PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
pub fn shader_zero_initialize_workgroup_memory( self, shader_zero_initialize_workgroup_memory: bool, ) -> Self
Sourcepub fn build(self) -> PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
pub fn build(self) -> PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> Deref for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> !Send for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesBuilder<'a>
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