Struct wgpu_hal::vulkan::AttachmentKey
source · struct AttachmentKey {
format: Format,
layout: ImageLayout,
ops: AttachmentOps,
}
Fields§
§format: Format
§layout: ImageLayout
§ops: AttachmentOps
Implementations§
source§impl AttachmentKey
impl AttachmentKey
sourcefn compatible(format: Format, layout: ImageLayout) -> Self
fn compatible(format: Format, layout: ImageLayout) -> Self
Returns an attachment key for a compatible attachment.
Trait Implementations§
source§impl Clone for AttachmentKey
impl Clone for AttachmentKey
source§fn clone(&self) -> AttachmentKey
fn clone(&self) -> AttachmentKey
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 AttachmentKey
impl Debug for AttachmentKey
source§impl Hash for AttachmentKey
impl Hash for AttachmentKey
source§impl PartialEq for AttachmentKey
impl PartialEq for AttachmentKey
impl Eq for AttachmentKey
impl StructuralPartialEq for AttachmentKey
Auto Trait Implementations§
impl Freeze for AttachmentKey
impl RefUnwindSafe for AttachmentKey
impl Send for AttachmentKey
impl Sync for AttachmentKey
impl Unpin for AttachmentKey
impl UnwindSafe for AttachmentKey
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.