Struct vulkanalia::vk::AttachmentReference2
source · #[repr(C)]pub struct AttachmentReference2 {
pub s_type: StructureType,
pub next: *const c_void,
pub attachment: u32,
pub layout: ImageLayout,
pub aspect_mask: ImageAspectFlags,
}
Expand description
Fields§
§s_type: StructureType
§next: *const c_void
§attachment: u32
§layout: ImageLayout
§aspect_mask: ImageAspectFlags
Trait Implementations§
source§impl Cast for AttachmentReference2
impl Cast for AttachmentReference2
§type Target = AttachmentReference2
type Target = AttachmentReference2
The other type this type can be used interchangeably with in FFI.
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§fn default() -> AttachmentReference2
fn default() -> AttachmentReference2
Returns the “default value” for a type. Read more
source§impl<'b> HasBuilder<'b> for AttachmentReference2
impl<'b> HasBuilder<'b> for AttachmentReference2
source§impl Hash for AttachmentReference2
impl Hash for AttachmentReference2
source§impl PartialEq<AttachmentReference2> for AttachmentReference2
impl PartialEq<AttachmentReference2> for AttachmentReference2
source§fn eq(&self, other: &AttachmentReference2) -> bool
fn eq(&self, other: &AttachmentReference2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttachmentReference2
impl Eq for AttachmentReference2
impl StructuralEq for AttachmentReference2
impl StructuralPartialEq 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