pub struct AttachmentReference {
pub attachment: AttachmentIndex,
pub layout: ImageLayout,
}
Expand description
Fields§
§attachment: AttachmentIndex
§layout: ImageLayout
Trait Implementations§
Source§impl Clone for AttachmentReference
impl Clone for AttachmentReference
Source§fn clone(&self) -> AttachmentReference
fn clone(&self) -> AttachmentReference
Returns a duplicate 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<'a> From<&'a AttachmentReference> for VkAttachmentReference
impl<'a> From<&'a AttachmentReference> for VkAttachmentReference
Source§fn from(reference: &'a AttachmentReference) -> Self
fn from(reference: &'a AttachmentReference) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a VkAttachmentReference> for AttachmentReference
impl<'a> From<&'a VkAttachmentReference> for AttachmentReference
Source§fn from(reference: &'a VkAttachmentReference) -> Self
fn from(reference: &'a VkAttachmentReference) -> Self
Converts to this type from the input type.
Source§impl Hash for AttachmentReference
impl Hash for AttachmentReference
Source§impl PartialEq for AttachmentReference
impl PartialEq for AttachmentReference
impl Copy for AttachmentReference
impl Eq for AttachmentReference
impl StructuralPartialEq for AttachmentReference
Auto Trait Implementations§
impl Freeze for AttachmentReference
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