#[repr(C)]pub struct AttachmentReference2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub attachment: u32,
pub layout: ImageLayout,
pub aspect_mask: ImageAspectFlags,
}Expand description
VkAttachmentReference2
Provided by VK_GRAPHICS_VERSION_1_2.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2.
p_next: *const c_voidOptional, may be null.
attachment: u32§layout: ImageLayout§aspect_mask: ImageAspectFlagsImplementations§
Source§impl AttachmentReference2
impl AttachmentReference2
Sourcepub fn builder<'a>() -> AttachmentReference2Builder<'a>
pub fn builder<'a>() -> AttachmentReference2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AttachmentReference2
impl Clone for AttachmentReference2
Source§fn clone(&self) -> AttachmentReference2
fn clone(&self) -> AttachmentReference2
Returns a duplicate 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 AttachmentReference2
impl Debug for AttachmentReference2
Source§impl Default for AttachmentReference2
impl Default for AttachmentReference2
impl Copy for AttachmentReference2
Auto Trait Implementations§
impl Freeze for AttachmentReference2
impl RefUnwindSafe for AttachmentReference2
impl !Send for AttachmentReference2
impl !Sync for AttachmentReference2
impl Unpin for AttachmentReference2
impl UnsafeUnpin for AttachmentReference2
impl UnwindSafe for AttachmentReference2
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