Struct wgpu::core::command::ComputePassTimestampWrites
#[repr(C)]pub struct ComputePassTimestampWrites {
pub query_set: Id<QuerySet>,
pub beginning_of_pass_write_index: Option<u32>,
pub end_of_pass_write_index: Option<u32>,
}
Available on
wgpu_core
only.Expand description
Describes the writing of timestamp values in a compute pass.
Fields§
§query_set: Id<QuerySet>
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§
§impl Clone for ComputePassTimestampWrites
impl Clone for ComputePassTimestampWrites
§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 more§impl Debug for ComputePassTimestampWrites
impl Debug for ComputePassTimestampWrites
§impl<'de> Deserialize<'de> for ComputePassTimestampWrites
impl<'de> Deserialize<'de> for ComputePassTimestampWrites
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ComputePassTimestampWrites, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ComputePassTimestampWrites, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ComputePassTimestampWrites
impl PartialEq for ComputePassTimestampWrites
§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 Serialize for ComputePassTimestampWrites
impl Serialize for ComputePassTimestampWrites
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ComputePassTimestampWrites
impl StructuralEq for ComputePassTimestampWrites
impl StructuralPartialEq for ComputePassTimestampWrites
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.