pub struct AttachmentDescription2Builder<'a> { /* private fields */ }Expand description
Builder for AttachmentDescription2 with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> AttachmentDescription2Builder<'a>
impl<'a> AttachmentDescription2Builder<'a>
pub fn flags(self, value: AttachmentDescriptionFlags) -> Self
pub fn format(self, value: Format) -> Self
pub fn samples(self, value: SampleCountFlagBits) -> Self
pub fn load_op(self, value: AttachmentLoadOp) -> Self
pub fn store_op(self, value: AttachmentStoreOp) -> Self
pub fn stencil_load_op(self, value: AttachmentLoadOp) -> Self
pub fn stencil_store_op(self, value: AttachmentStoreOp) -> Self
pub fn initial_layout(self, value: ImageLayout) -> Self
pub fn final_layout(self, value: ImageLayout) -> Self
Sourcepub fn push_next<T: ExtendsAttachmentDescription2>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsAttachmentDescription2>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See AttachmentDescription2’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for AttachmentDescription2Builder<'a>
impl<'a> Deref for AttachmentDescription2Builder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AttachmentDescription2Builder<'a>
impl<'a> RefUnwindSafe for AttachmentDescription2Builder<'a>
impl<'a> !Send for AttachmentDescription2Builder<'a>
impl<'a> !Sync for AttachmentDescription2Builder<'a>
impl<'a> Unpin for AttachmentDescription2Builder<'a>
impl<'a> UnsafeUnpin for AttachmentDescription2Builder<'a>
impl<'a> UnwindSafe for AttachmentDescription2Builder<'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