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: AttachmentDescriptionFlagBits, ) -> AttachmentDescription2Builder<'a>
pub fn format(self, value: Format) -> AttachmentDescription2Builder<'a>
pub fn samples( self, value: SampleCountFlagBits, ) -> AttachmentDescription2Builder<'a>
pub fn load_op( self, value: AttachmentLoadOp, ) -> AttachmentDescription2Builder<'a>
pub fn store_op( self, value: AttachmentStoreOp, ) -> AttachmentDescription2Builder<'a>
pub fn stencil_load_op( self, value: AttachmentLoadOp, ) -> AttachmentDescription2Builder<'a>
pub fn stencil_store_op( self, value: AttachmentStoreOp, ) -> AttachmentDescription2Builder<'a>
pub fn initial_layout( self, value: ImageLayout, ) -> AttachmentDescription2Builder<'a>
pub fn final_layout( self, value: ImageLayout, ) -> AttachmentDescription2Builder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> AttachmentDescription2Builder<'a>where
T: ExtendsAttachmentDescription2,
pub fn push_next<T>(self, next: &'a mut T) -> AttachmentDescription2Builder<'a>where
T: ExtendsAttachmentDescription2,
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>
Source§type Target = AttachmentDescription2
type Target = AttachmentDescription2
The resulting type after dereferencing.
Source§impl<'a> DerefMut for AttachmentDescription2Builder<'a>
impl<'a> DerefMut 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