pub struct AttachmentReferenceBuilder { /* private fields */ }Expand description
Builder for AttachmentReference.
Implementations§
Source§impl AttachmentReferenceBuilder
impl AttachmentReferenceBuilder
pub fn attachment(self, value: u32) -> AttachmentReferenceBuilder
pub fn layout(self, value: ImageLayout) -> AttachmentReferenceBuilder
Trait Implementations§
Source§impl Deref for AttachmentReferenceBuilder
impl Deref for AttachmentReferenceBuilder
Source§type Target = AttachmentReference
type Target = AttachmentReference
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for AttachmentReferenceBuilder
impl RefUnwindSafe for AttachmentReferenceBuilder
impl Send for AttachmentReferenceBuilder
impl Sync for AttachmentReferenceBuilder
impl Unpin for AttachmentReferenceBuilder
impl UnsafeUnpin for AttachmentReferenceBuilder
impl UnwindSafe for AttachmentReferenceBuilder
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