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