Struct vulkanalia::vk::AttachmentReference
source · #[repr(C)]pub struct AttachmentReference {
pub attachment: u32,
pub layout: ImageLayout,
}
Expand description
Fields§
§attachment: u32
§layout: ImageLayout
Trait Implementations§
source§impl Cast for AttachmentReference
impl Cast for AttachmentReference
§type Target = AttachmentReference
type Target = AttachmentReference
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AttachmentReference
impl Clone for AttachmentReference
source§fn clone(&self) -> AttachmentReference
fn clone(&self) -> AttachmentReference
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 AttachmentReference
impl Debug for AttachmentReference
source§impl Default for AttachmentReference
impl Default for AttachmentReference
source§fn default() -> AttachmentReference
fn default() -> AttachmentReference
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for AttachmentReference
impl HasBuilder<'static> for AttachmentReference
source§impl Hash for AttachmentReference
impl Hash for AttachmentReference
source§impl PartialEq<AttachmentReference> for AttachmentReference
impl PartialEq<AttachmentReference> for AttachmentReference
source§fn eq(&self, other: &AttachmentReference) -> bool
fn eq(&self, other: &AttachmentReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttachmentReference
impl Eq for AttachmentReference
impl StructuralEq for AttachmentReference
impl StructuralPartialEq for AttachmentReference
Auto Trait Implementations§
impl RefUnwindSafe for AttachmentReference
impl Send for AttachmentReference
impl Sync for AttachmentReference
impl Unpin for AttachmentReference
impl UnwindSafe for AttachmentReference
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