Struct ash::vk::AttachmentReference2
source · #[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
Fields§
§s_type: StructureType
§p_next: *const c_void
§attachment: u32
§layout: ImageLayout
§aspect_mask: ImageAspectFlags
Implementations§
source§impl AttachmentReference2
impl AttachmentReference2
pub fn builder<'a>() -> AttachmentReference2Builder<'a>
Trait Implementations§
source§impl Clone for AttachmentReference2
impl Clone for AttachmentReference2
source§fn clone(&self) -> AttachmentReference2
fn clone(&self) -> AttachmentReference2
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 Debug for AttachmentReference2
impl Debug for AttachmentReference2
source§impl Default for AttachmentReference2
impl Default for AttachmentReference2
source§impl TaggedStructure for AttachmentReference2
impl TaggedStructure for AttachmentReference2
const STRUCTURE_TYPE: StructureType = StructureType::ATTACHMENT_REFERENCE_2
impl Copy for AttachmentReference2
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentReference2
impl !Send for AttachmentReference2
impl !Sync for AttachmentReference2
impl Unpin 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