pub struct AttachmentReference2Builder<'a> { /* private fields */ }Expand description
Builder for AttachmentReference2 with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> AttachmentReference2Builder<'a>
impl<'a> AttachmentReference2Builder<'a>
pub fn attachment(self, value: u32) -> AttachmentReference2Builder<'a>
pub fn layout(self, value: ImageLayout) -> AttachmentReference2Builder<'a>
pub fn aspect_mask( self, value: ImageAspectFlagBits, ) -> AttachmentReference2Builder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> AttachmentReference2Builder<'a>where
T: ExtendsAttachmentReference2,
pub fn push_next<T>(self, next: &'a mut T) -> AttachmentReference2Builder<'a>where
T: ExtendsAttachmentReference2,
Prepend a struct to the pNext chain. See AttachmentReference2’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for AttachmentReference2Builder<'a>
impl<'a> Deref for AttachmentReference2Builder<'a>
Source§type Target = AttachmentReference2
type Target = AttachmentReference2
The resulting type after dereferencing.
Source§impl<'a> DerefMut for AttachmentReference2Builder<'a>
impl<'a> DerefMut for AttachmentReference2Builder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttachmentReference2Builder<'a>
impl<'a> RefUnwindSafe for AttachmentReference2Builder<'a>
impl<'a> !Send for AttachmentReference2Builder<'a>
impl<'a> !Sync for AttachmentReference2Builder<'a>
impl<'a> Unpin for AttachmentReference2Builder<'a>
impl<'a> UnsafeUnpin for AttachmentReference2Builder<'a>
impl<'a> UnwindSafe for AttachmentReference2Builder<'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