pub struct AttachmentDescriptionBuilder { /* private fields */ }Expand description
Builder for AttachmentDescription.
Implementations§
Source§impl AttachmentDescriptionBuilder
impl AttachmentDescriptionBuilder
pub fn flags( self, value: AttachmentDescriptionFlagBits, ) -> AttachmentDescriptionBuilder
pub fn format(self, value: Format) -> AttachmentDescriptionBuilder
pub fn samples(self, value: SampleCountFlagBits) -> AttachmentDescriptionBuilder
pub fn load_op(self, value: AttachmentLoadOp) -> AttachmentDescriptionBuilder
pub fn store_op(self, value: AttachmentStoreOp) -> AttachmentDescriptionBuilder
pub fn stencil_load_op( self, value: AttachmentLoadOp, ) -> AttachmentDescriptionBuilder
pub fn stencil_store_op( self, value: AttachmentStoreOp, ) -> AttachmentDescriptionBuilder
pub fn initial_layout(self, value: ImageLayout) -> AttachmentDescriptionBuilder
pub fn final_layout(self, value: ImageLayout) -> AttachmentDescriptionBuilder
Trait Implementations§
Source§impl Deref for AttachmentDescriptionBuilder
impl Deref for AttachmentDescriptionBuilder
Source§type Target = AttachmentDescription
type Target = AttachmentDescription
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for AttachmentDescriptionBuilder
impl RefUnwindSafe for AttachmentDescriptionBuilder
impl Send for AttachmentDescriptionBuilder
impl Sync for AttachmentDescriptionBuilder
impl Unpin for AttachmentDescriptionBuilder
impl UnsafeUnpin for AttachmentDescriptionBuilder
impl UnwindSafe for AttachmentDescriptionBuilder
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