#[repr(C)]pub struct VkAttachmentReference2 {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub attachment: u32,
pub layout: VkImageLayout,
pub aspectMask: VkImageAspectFlags,
}
Fields§
§sType: VkStructureType
§pNext: *const c_void
§attachment: u32
§layout: VkImageLayout
§aspectMask: VkImageAspectFlags
Trait Implementations§
source§impl Clone for VkAttachmentReference2
impl Clone for VkAttachmentReference2
source§fn clone(&self) -> VkAttachmentReference2
fn clone(&self) -> VkAttachmentReference2
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 Default for VkAttachmentReference2
impl Default for VkAttachmentReference2
impl Copy for VkAttachmentReference2
Auto Trait Implementations§
impl Freeze for VkAttachmentReference2
impl RefUnwindSafe for VkAttachmentReference2
impl !Send for VkAttachmentReference2
impl !Sync for VkAttachmentReference2
impl Unpin for VkAttachmentReference2
impl UnwindSafe for VkAttachmentReference2
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)