pub struct AttachmentReferenceBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> AttachmentReferenceBuilder<'a>
impl<'a> AttachmentReferenceBuilder<'a>
pub fn attachment(self, attachment: u32) -> Self
pub fn layout(self, layout: ImageLayout) -> Self
Sourcepub fn build(self) -> AttachmentReference
pub fn build(self) -> AttachmentReference
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 AttachmentReferenceBuilder<'a>
impl<'a> Deref for AttachmentReferenceBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttachmentReferenceBuilder<'a>
impl<'a> RefUnwindSafe for AttachmentReferenceBuilder<'a>
impl<'a> Send for AttachmentReferenceBuilder<'a>
impl<'a> Sync for AttachmentReferenceBuilder<'a>
impl<'a> Unpin for AttachmentReferenceBuilder<'a>
impl<'a> UnwindSafe for AttachmentReferenceBuilder<'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