Struct vulkanalia::vk::AttachmentReference2Builder
source · #[repr(transparent)]pub struct AttachmentReference2Builder<'b> { /* private fields */ }
Expand description
A builder for a AttachmentReference2
.
Implementations§
source§impl<'b> AttachmentReference2Builder<'b>
impl<'b> AttachmentReference2Builder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsAttachmentReference2,
pub fn attachment(self, attachment: u32) -> Self
pub fn layout(self, layout: ImageLayout) -> Self
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn build(self) -> AttachmentReference2
Trait Implementations§
source§impl<'b> Cast for AttachmentReference2Builder<'b>
impl<'b> Cast for AttachmentReference2Builder<'b>
§type Target = AttachmentReference2
type Target = AttachmentReference2
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for AttachmentReference2Builder<'b>
impl<'b> Clone for AttachmentReference2Builder<'b>
source§fn clone(&self) -> AttachmentReference2Builder<'b>
fn clone(&self) -> AttachmentReference2Builder<'b>
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<'b> Debug for AttachmentReference2Builder<'b>
impl<'b> Debug for AttachmentReference2Builder<'b>
source§impl<'b> Default for AttachmentReference2Builder<'b>
impl<'b> Default for AttachmentReference2Builder<'b>
source§fn default() -> AttachmentReference2Builder<'b>
fn default() -> AttachmentReference2Builder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for AttachmentReference2Builder<'b>
impl<'b> Deref for AttachmentReference2Builder<'b>
source§impl<'b> DerefMut for AttachmentReference2Builder<'b>
impl<'b> DerefMut for AttachmentReference2Builder<'b>
impl<'b> Copy for AttachmentReference2Builder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for AttachmentReference2Builder<'b>
impl<'b> !Send for AttachmentReference2Builder<'b>
impl<'b> !Sync for AttachmentReference2Builder<'b>
impl<'b> Unpin for AttachmentReference2Builder<'b>
impl<'b> UnwindSafe for AttachmentReference2Builder<'b>
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