Enum nannou_wgpu::LoadOp
source · pub enum LoadOp<V> {
Clear(V),
Load,
}
Expand description
Operation to perform to the output attachment at the start of a render pass.
The render target must be cleared at least once before its content is loaded.
Corresponds to WebGPU GPULoadOp
.
Variants§
Trait Implementations§
source§impl<V> PartialEq for LoadOp<V>where
V: PartialEq,
impl<V> PartialEq for LoadOp<V>where
V: PartialEq,
impl<V> Copy for LoadOp<V>where
V: Copy,
impl<V> Eq for LoadOp<V>where
V: Eq,
impl<V> StructuralEq for LoadOp<V>
impl<V> StructuralPartialEq for LoadOp<V>
Auto Trait Implementations§
impl<V> RefUnwindSafe for LoadOp<V>where
V: RefUnwindSafe,
impl<V> Send for LoadOp<V>where
V: Send,
impl<V> Sync for LoadOp<V>where
V: Sync,
impl<V> Unpin for LoadOp<V>where
V: Unpin,
impl<V> UnwindSafe for LoadOp<V>where
V: UnwindSafe,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.