Struct wgpu_core::command::RenderPassTimestampWrites
source · #[repr(C)]pub struct RenderPassTimestampWrites {
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 pass.
Fields§
§query_set: QuerySetId
The query set to write the timestamp 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 RenderPassTimestampWrites
impl Clone for RenderPassTimestampWrites
source§fn clone(&self) -> RenderPassTimestampWrites
fn clone(&self) -> RenderPassTimestampWrites
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 RenderPassTimestampWrites
impl Debug for RenderPassTimestampWrites
source§impl PartialEq for RenderPassTimestampWrites
impl PartialEq for RenderPassTimestampWrites
source§fn eq(&self, other: &RenderPassTimestampWrites) -> bool
fn eq(&self, other: &RenderPassTimestampWrites) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RenderPassTimestampWrites
impl StructuralPartialEq for RenderPassTimestampWrites
Auto Trait Implementations§
impl Freeze for RenderPassTimestampWrites
impl RefUnwindSafe for RenderPassTimestampWrites
impl Send for RenderPassTimestampWrites
impl Sync for RenderPassTimestampWrites
impl Unpin for RenderPassTimestampWrites
impl UnwindSafe for RenderPassTimestampWrites
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.