#[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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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