#[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 Freeze for AttachmentReference2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)