Struct wgpu::Operations
source · [−]Expand description
Pair of load and store operations for an attachment aspect.
Fields
load: LoadOp<V>
How data should be read through this attachment.
store: bool
Whether data will be written to through this attachment.
Trait Implementations
sourceimpl<V: Clone> Clone for Operations<V>
impl<V: Clone> Clone for Operations<V>
sourcefn clone(&self) -> Operations<V>
fn clone(&self) -> Operations<V>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<V: Debug> Debug for Operations<V>
impl<V: Debug> Debug for Operations<V>
sourceimpl<V: Default> Default for Operations<V>
impl<V: Default> Default for Operations<V>
sourceimpl<'de, V> Deserialize<'de> for Operations<V> where
V: Deserialize<'de>,
impl<'de, V> Deserialize<'de> for Operations<V> where
V: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<V: Hash> Hash for Operations<V>
impl<V: Hash> Hash for Operations<V>
sourceimpl<V: PartialEq> PartialEq<Operations<V>> for Operations<V>
impl<V: PartialEq> PartialEq<Operations<V>> for Operations<V>
sourcefn eq(&self, other: &Operations<V>) -> bool
fn eq(&self, other: &Operations<V>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Operations<V>) -> bool
fn ne(&self, other: &Operations<V>) -> bool
This method tests for !=
.
sourceimpl<V> Serialize for Operations<V> where
V: Serialize,
impl<V> Serialize for Operations<V> where
V: Serialize,
impl<V: Copy> Copy for Operations<V>
impl<V: Eq> Eq for Operations<V>
impl<V> StructuralEq for Operations<V>
impl<V> StructuralPartialEq for Operations<V>
Auto Trait Implementations
impl<V> RefUnwindSafe for Operations<V> where
V: RefUnwindSafe,
impl<V> Send for Operations<V> where
V: Send,
impl<V> Sync for Operations<V> where
V: Sync,
impl<V> Unpin for Operations<V> where
V: Unpin,
impl<V> UnwindSafe for Operations<V> where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.