pub struct PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
pub fn memory_decompression(self, memory_decompression: bool) -> Self
Sourcepub fn build(self) -> PhysicalDeviceMemoryDecompressionFeaturesNV
pub fn build(self) -> PhysicalDeviceMemoryDecompressionFeaturesNV
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 PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
Source§impl<'a> DerefMut for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> !Send for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMemoryDecompressionFeaturesNVBuilder<'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