Struct wgpu_hal::vulkan::FramebufferKey
source · struct FramebufferKey {
attachments: ArrayVec<FramebufferAttachment, { MAX_TOTAL_ATTACHMENTS }>,
extent: Extent3d,
sample_count: u32,
}
Fields§
§attachments: ArrayVec<FramebufferAttachment, { MAX_TOTAL_ATTACHMENTS }>
§extent: Extent3d
§sample_count: u32
Trait Implementations§
source§impl Clone for FramebufferKey
impl Clone for FramebufferKey
source§fn clone(&self) -> FramebufferKey
fn clone(&self) -> FramebufferKey
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 FramebufferKey
impl Hash for FramebufferKey
source§impl PartialEq for FramebufferKey
impl PartialEq for FramebufferKey
source§fn eq(&self, other: &FramebufferKey) -> bool
fn eq(&self, other: &FramebufferKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FramebufferKey
impl StructuralPartialEq for FramebufferKey
Auto Trait Implementations§
impl Freeze for FramebufferKey
impl RefUnwindSafe for FramebufferKey
impl Send for FramebufferKey
impl Sync for FramebufferKey
impl Unpin for FramebufferKey
impl UnwindSafe for FramebufferKey
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.