pub struct PassTimestampWrites<QS = Arc<QuerySet>> {
pub query_set: QS,
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. cbindgen:ignore
Fields§
§query_set: QSThe 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<QS: Clone> Clone for PassTimestampWrites<QS>
impl<QS: Clone> Clone for PassTimestampWrites<QS>
Source§fn clone(&self) -> PassTimestampWrites<QS>
fn clone(&self) -> PassTimestampWrites<QS>
Returns a duplicate 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<QS: Debug> Debug for PassTimestampWrites<QS>
impl<QS: Debug> Debug for PassTimestampWrites<QS>
Source§impl<'de, QS> Deserialize<'de> for PassTimestampWrites<QS>where
QS: Deserialize<'de>,
impl<'de, QS> Deserialize<'de> for PassTimestampWrites<QS>where
QS: Deserialize<'de>,
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 IntoTrace for PassTimestampWrites
Available on crate feature trace and (crate features trace or replay) only.
impl IntoTrace for PassTimestampWrites
Available on crate feature
trace and (crate features trace or replay) only.Source§impl<QS: PartialEq> PartialEq for PassTimestampWrites<QS>
impl<QS: PartialEq> PartialEq for PassTimestampWrites<QS>
Source§impl<QS> Serialize for PassTimestampWrites<QS>where
QS: Serialize,
impl<QS> Serialize for PassTimestampWrites<QS>where
QS: Serialize,
impl<QS: Eq> Eq for PassTimestampWrites<QS>
impl<QS> StructuralPartialEq for PassTimestampWrites<QS>
Auto Trait Implementations§
impl<QS> Freeze for PassTimestampWrites<QS>where
QS: Freeze,
impl<QS> RefUnwindSafe for PassTimestampWrites<QS>where
QS: RefUnwindSafe,
impl<QS> Send for PassTimestampWrites<QS>where
QS: Send,
impl<QS> Sync for PassTimestampWrites<QS>where
QS: Sync,
impl<QS> Unpin for PassTimestampWrites<QS>where
QS: Unpin,
impl<QS> UnwindSafe for PassTimestampWrites<QS>where
QS: 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,
§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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more