pub struct RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn image_view( self, image_view: ImageView, ) -> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn image_layout( self, image_layout: ImageLayout, ) -> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D, ) -> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
sourcepub fn build(self) -> RenderingFragmentShadingRateAttachmentInfoKHR
pub fn build(self) -> RenderingFragmentShadingRateAttachmentInfoKHR
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 RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Deref for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
§type Target = RenderingFragmentShadingRateAttachmentInfoKHR
type Target = RenderingFragmentShadingRateAttachmentInfoKHR
The resulting type after dereferencing.
source§impl<'a> DerefMut for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> DerefMut for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl ExtendsRenderingInfo for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Send for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Sync for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Unpin for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'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