Struct wgpu_hal::vulkan::RenderPassKey
source · struct RenderPassKey {
colors: ArrayVec<Option<ColorAttachmentKey>, { crate::MAX_COLOR_ATTACHMENTS }>,
depth_stencil: Option<DepthStencilAttachmentKey>,
sample_count: u32,
multiview: Option<NonZeroU32>,
}
Fields§
§colors: ArrayVec<Option<ColorAttachmentKey>, { crate::MAX_COLOR_ATTACHMENTS }>
§depth_stencil: Option<DepthStencilAttachmentKey>
§sample_count: u32
§multiview: Option<NonZeroU32>
Trait Implementations§
source§impl Clone for RenderPassKey
impl Clone for RenderPassKey
source§fn clone(&self) -> RenderPassKey
fn clone(&self) -> RenderPassKey
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 Default for RenderPassKey
impl Default for RenderPassKey
source§fn default() -> RenderPassKey
fn default() -> RenderPassKey
Returns the “default value” for a type. Read more
source§impl Hash for RenderPassKey
impl Hash for RenderPassKey
source§impl PartialEq for RenderPassKey
impl PartialEq for RenderPassKey
impl Eq for RenderPassKey
impl StructuralPartialEq for RenderPassKey
Auto Trait Implementations§
impl Freeze for RenderPassKey
impl RefUnwindSafe for RenderPassKey
impl Send for RenderPassKey
impl Sync for RenderPassKey
impl Unpin for RenderPassKey
impl UnwindSafe for RenderPassKey
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.