pub struct ComputePassDesc<'a, D: Device> {
pub label: &'static str,
pub timestamps: Option<TimestampWrites<'a, D>>,
}Expand description
Everything needed to begin a compute pass.
Fields§
§label: &'static strDebug label.
timestamps: Option<TimestampWrites<'a, D>>Optional timestamps written at the actual pass boundaries.
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for ComputePassDesc<'a, D>
impl<'a, D> RefUnwindSafe for ComputePassDesc<'a, D>
impl<'a, D> Send for ComputePassDesc<'a, D>
impl<'a, D> Sync for ComputePassDesc<'a, D>
impl<'a, D> Unpin for ComputePassDesc<'a, D>
impl<'a, D> UnsafeUnpin for ComputePassDesc<'a, D>
impl<'a, D> UnwindSafe for ComputePassDesc<'a, D>
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