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