[][src]Enum wgpu::LoadOp

pub enum LoadOp<V> {
    Clear(V),
    Load,
}

Operation to perform to the output attachment at the start of a renderpass.

The render target must be cleared at least once before it's content be loaded.

Variants

Clear(V)

Clear with a specified value.

Load

Load from memory.

Trait Implementations

impl<V: Clone> Clone for LoadOp<V>[src]

impl<V: Copy> Copy for LoadOp<V>[src]

impl<V: Debug> Debug for LoadOp<V>[src]

impl<V: Default> Default for LoadOp<V>[src]

impl<'de, V> Deserialize<'de> for LoadOp<V> where
    V: Deserialize<'de>, 
[src]

impl<V: Eq> Eq for LoadOp<V>[src]

impl<V: Hash> Hash for LoadOp<V>[src]

impl<V: PartialEq> PartialEq<LoadOp<V>> for LoadOp<V>[src]

impl<V> Serialize for LoadOp<V> where
    V: Serialize
[src]

impl<V> StructuralEq for LoadOp<V>[src]

impl<V> StructuralPartialEq for LoadOp<V>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.