Struct wgpu_core::command::PassTimestampWrites
source · pub struct PassTimestampWrites {
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 render or 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 PassTimestampWrites
impl Clone for PassTimestampWrites
source§fn clone(&self) -> PassTimestampWrites
fn clone(&self) -> PassTimestampWrites
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 PassTimestampWrites
impl Debug for PassTimestampWrites
source§impl<'de> Deserialize<'de> for PassTimestampWrites
impl<'de> Deserialize<'de> for PassTimestampWrites
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PassTimestampWrites
impl PartialEq for PassTimestampWrites
source§fn eq(&self, other: &PassTimestampWrites) -> bool
fn eq(&self, other: &PassTimestampWrites) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PassTimestampWrites
impl Serialize for PassTimestampWrites
impl Eq for PassTimestampWrites
impl StructuralEq for PassTimestampWrites
impl StructuralPartialEq for PassTimestampWrites
Auto Trait Implementations§
impl RefUnwindSafe for PassTimestampWrites
impl Send for PassTimestampWrites
impl Sync for PassTimestampWrites
impl Unpin for PassTimestampWrites
impl UnwindSafe for PassTimestampWrites
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.§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