pub struct FragmentShadingRateAttachmentInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn fragment_shading_rate_attachment( self, fragment_shading_rate_attachment: &'a AttachmentReference2 ) -> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D ) -> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
sourcepub fn build(self) -> FragmentShadingRateAttachmentInfoKHR
pub fn build(self) -> FragmentShadingRateAttachmentInfoKHR
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 FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Deref for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
§type Target = FragmentShadingRateAttachmentInfoKHR
type Target = FragmentShadingRateAttachmentInfoKHR
The resulting type after dereferencing.
source§impl<'a> DerefMut for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> DerefMut for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl ExtendsSubpassDescription2 for FragmentShadingRateAttachmentInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Send for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Sync for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Unpin for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for FragmentShadingRateAttachmentInfoKHRBuilder<'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