Struct erupt::vk1_2::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
Vulkan Manual Page · Structure
Fields
s_type: StructureType
p_next: *const c_void
attachment: u32
layout: ImageLayout
aspect_mask: ImageAspectFlags
Implementations
sourceimpl AttachmentReference2
impl AttachmentReference2
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::ATTACHMENT_REFERENCE_2
sourceimpl AttachmentReference2
impl AttachmentReference2
pub fn into_builder<'a>(self) -> AttachmentReference2Builder<'a>
Trait Implementations
sourceimpl Clone for AttachmentReference2
impl Clone for AttachmentReference2
sourcefn clone(&self) -> AttachmentReference2
fn clone(&self) -> AttachmentReference2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttachmentReference2
impl Debug for AttachmentReference2
sourceimpl Default for AttachmentReference2
impl Default for AttachmentReference2
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more