Struct vulkanalia::vk::AttachmentReferenceBuilder
source · #[repr(transparent)]pub struct AttachmentReferenceBuilder { /* private fields */ }
Expand description
A builder for a AttachmentReference
.
Implementations§
source§impl AttachmentReferenceBuilder
impl AttachmentReferenceBuilder
pub fn attachment(self, attachment: u32) -> Self
pub fn layout(self, layout: ImageLayout) -> Self
pub fn build(self) -> AttachmentReference
Trait Implementations§
source§impl Cast for AttachmentReferenceBuilder
impl Cast for AttachmentReferenceBuilder
§type Target = AttachmentReference
type Target = AttachmentReference
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AttachmentReferenceBuilder
impl Clone for AttachmentReferenceBuilder
source§fn clone(&self) -> AttachmentReferenceBuilder
fn clone(&self) -> AttachmentReferenceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AttachmentReferenceBuilder
impl Debug for AttachmentReferenceBuilder
source§impl Default for AttachmentReferenceBuilder
impl Default for AttachmentReferenceBuilder
source§fn default() -> AttachmentReferenceBuilder
fn default() -> AttachmentReferenceBuilder
Returns the “default value” for a type. Read more
source§impl Deref for AttachmentReferenceBuilder
impl Deref for AttachmentReferenceBuilder
impl Copy for AttachmentReferenceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentReferenceBuilder
impl Send for AttachmentReferenceBuilder
impl Sync for AttachmentReferenceBuilder
impl Unpin 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