Struct ash::vk::AttachmentReferenceStencilLayoutBuilder
source · 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