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