#[repr(C)]pub struct VkAttachmentReference2KHR {
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: VkImageAspectFlagsTrait Implementations§
Source§impl Clone for VkAttachmentReference2KHR
impl Clone for VkAttachmentReference2KHR
Source§fn clone(&self) -> VkAttachmentReference2KHR
fn clone(&self) -> VkAttachmentReference2KHR
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 moreimpl Copy for VkAttachmentReference2KHR
Auto Trait Implementations§
impl Freeze for VkAttachmentReference2KHR
impl RefUnwindSafe for VkAttachmentReference2KHR
impl !Send for VkAttachmentReference2KHR
impl !Sync for VkAttachmentReference2KHR
impl Unpin for VkAttachmentReference2KHR
impl UnwindSafe for VkAttachmentReference2KHR
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