pub struct ComputePassDescriptor<'a, PTW = PassTimestampWrites> {
pub label: Label<'a>,
pub timestamp_writes: Option<PTW>,
}
Fields§
§label: Label<'a>
§timestamp_writes: Option<PTW>
Defines where and when timestamp values will be written for this pass.
Trait Implementations§
source§impl<'a, PTW: Clone> Clone for ComputePassDescriptor<'a, PTW>
impl<'a, PTW: Clone> Clone for ComputePassDescriptor<'a, PTW>
source§fn clone(&self) -> ComputePassDescriptor<'a, PTW>
fn clone(&self) -> ComputePassDescriptor<'a, PTW>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, PTW: Debug> Debug for ComputePassDescriptor<'a, PTW>
impl<'a, PTW: Debug> Debug for ComputePassDescriptor<'a, PTW>
source§impl<'a, PTW: Default> Default for ComputePassDescriptor<'a, PTW>
impl<'a, PTW: Default> Default for ComputePassDescriptor<'a, PTW>
source§fn default() -> ComputePassDescriptor<'a, PTW>
fn default() -> ComputePassDescriptor<'a, PTW>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, PTW> Freeze for ComputePassDescriptor<'a, PTW>where
PTW: Freeze,
impl<'a, PTW> RefUnwindSafe for ComputePassDescriptor<'a, PTW>where
PTW: RefUnwindSafe,
impl<'a, PTW> Send for ComputePassDescriptor<'a, PTW>where
PTW: Send,
impl<'a, PTW> Sync for ComputePassDescriptor<'a, PTW>where
PTW: Sync,
impl<'a, PTW> Unpin for ComputePassDescriptor<'a, PTW>where
PTW: Unpin,
impl<'a, PTW> UnwindSafe for ComputePassDescriptor<'a, PTW>where
PTW: 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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)