Struct wgpu_core::command::ComputePassTimestampWrites
source · #[repr(C)]pub struct ComputePassTimestampWrites {
pub query_set: QuerySetId,
pub beginning_of_pass_write_index: Option<u32>,
pub end_of_pass_write_index: Option<u32>,
}
Expand description
Describes the writing of timestamp values in a compute pass.
Fields§
§query_set: QuerySetId
The query set to write the timestamps to.
beginning_of_pass_write_index: Option<u32>
The index of the query set at which a start timestamp of this pass is written, if any.
end_of_pass_write_index: Option<u32>
The index of the query set at which an end timestamp of this pass is written, if any.
Trait Implementations§
source§impl Clone for ComputePassTimestampWrites
impl Clone for ComputePassTimestampWrites
source§fn clone(&self) -> ComputePassTimestampWrites
fn clone(&self) -> ComputePassTimestampWrites
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 Debug for ComputePassTimestampWrites
impl Debug for ComputePassTimestampWrites
source§impl PartialEq for ComputePassTimestampWrites
impl PartialEq for ComputePassTimestampWrites
source§fn eq(&self, other: &ComputePassTimestampWrites) -> bool
fn eq(&self, other: &ComputePassTimestampWrites) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ComputePassTimestampWrites
impl StructuralPartialEq for ComputePassTimestampWrites
Auto Trait Implementations§
impl Freeze for ComputePassTimestampWrites
impl RefUnwindSafe for ComputePassTimestampWrites
impl Send for ComputePassTimestampWrites
impl Sync for ComputePassTimestampWrites
impl Unpin for ComputePassTimestampWrites
impl UnwindSafe for ComputePassTimestampWrites
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.