Struct wgpu_hal::vulkan::ColorAttachmentKey
source · struct ColorAttachmentKey {
base: AttachmentKey,
resolve: Option<AttachmentKey>,
}
Fields§
§base: AttachmentKey
§resolve: Option<AttachmentKey>
Trait Implementations§
source§impl Clone for ColorAttachmentKey
impl Clone for ColorAttachmentKey
source§fn clone(&self) -> ColorAttachmentKey
fn clone(&self) -> ColorAttachmentKey
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 Hash for ColorAttachmentKey
impl Hash for ColorAttachmentKey
source§impl PartialEq for ColorAttachmentKey
impl PartialEq for ColorAttachmentKey
source§fn eq(&self, other: &ColorAttachmentKey) -> bool
fn eq(&self, other: &ColorAttachmentKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ColorAttachmentKey
impl StructuralPartialEq for ColorAttachmentKey
Auto Trait Implementations§
impl Freeze for ColorAttachmentKey
impl RefUnwindSafe for ColorAttachmentKey
impl Send for ColorAttachmentKey
impl Sync for ColorAttachmentKey
impl Unpin for ColorAttachmentKey
impl UnwindSafe for ColorAttachmentKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.