pub struct AttachmentOps<V> {
pub load: GpuLoadOp,
pub clear_value: Option<V>,
pub store: GpuStoreOp,
}Expand description
An attachment’s operations as WebGPU states them: a load op plus the value a clear uses.
Fields§
§load: GpuLoadOp§clear_value: Option<V>§store: GpuStoreOpTrait Implementations§
Source§impl<V: Clone> Clone for AttachmentOps<V>
impl<V: Clone> Clone for AttachmentOps<V>
impl<V: Copy> Copy for AttachmentOps<V>
Auto Trait Implementations§
impl<V> Forget for AttachmentOps<V>
impl<V> Freeze for AttachmentOps<V>
impl<V> Move for AttachmentOps<V>
impl<V> RefUnwindSafe for AttachmentOps<V>where
Option<V>: RefUnwindSafe,
impl<V> Send for AttachmentOps<V>
impl<V> Sync for AttachmentOps<V>
impl<V> Unpin for AttachmentOps<V>
impl<V> UnsafeUnpin for AttachmentOps<V>where
Option<V>: UnsafeUnpin,
impl<V> UnwindSafe for AttachmentOps<V>where
Option<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