pub struct ImageCompressionControlEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageCompressionControlEXTBuilder<'a>
impl<'a> ImageCompressionControlEXTBuilder<'a>
pub fn flags(self, flags: ImageCompressionFlagsEXT) -> Self
pub fn fixed_rate_flags( self, fixed_rate_flags: &'a mut [ImageCompressionFixedRateFlagsEXT], ) -> Self
Sourcepub fn build(self) -> ImageCompressionControlEXT
pub fn build(self) -> ImageCompressionControlEXT
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 ImageCompressionControlEXTBuilder<'a>
impl<'a> Deref for ImageCompressionControlEXTBuilder<'a>
Source§impl<'a> DerefMut for ImageCompressionControlEXTBuilder<'a>
impl<'a> DerefMut for ImageCompressionControlEXTBuilder<'a>
impl ExtendsImageCreateInfo for ImageCompressionControlEXTBuilder<'_>
impl ExtendsPhysicalDeviceImageFormatInfo2 for ImageCompressionControlEXTBuilder<'_>
impl ExtendsSwapchainCreateInfoKHR for ImageCompressionControlEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageCompressionControlEXTBuilder<'a>
impl<'a> RefUnwindSafe for ImageCompressionControlEXTBuilder<'a>
impl<'a> !Send for ImageCompressionControlEXTBuilder<'a>
impl<'a> !Sync for ImageCompressionControlEXTBuilder<'a>
impl<'a> Unpin for ImageCompressionControlEXTBuilder<'a>
impl<'a> UnwindSafe for ImageCompressionControlEXTBuilder<'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