pub struct PresentTimings {
pub after_acquire_ns: i64,
pub after_render_ns: i64,
pub after_present_ns: i64,
}Expand description
Present-stage timestamps for one consumed packet, in nanoseconds on the
clock the producer injected at runtime start (0 = stage did not run or
no clock was injected). Carried back in [RenderReturns] so the
producer’s frame telemetry keeps recording acquire/render/present phases
after those stages move to the present thread. Plain integers so the
packet types stay clock-library-free on every target.
Fields§
§after_acquire_ns: i64§after_render_ns: i64§after_present_ns: i64Trait Implementations§
Source§impl Clone for PresentTimings
impl Clone for PresentTimings
Source§fn clone(&self) -> PresentTimings
fn clone(&self) -> PresentTimings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PresentTimings
Source§impl Debug for PresentTimings
impl Debug for PresentTimings
Source§impl Default for PresentTimings
impl Default for PresentTimings
Source§fn default() -> PresentTimings
fn default() -> PresentTimings
Returns the “default value” for a type. Read more
impl Eq for PresentTimings
Source§impl PartialEq for PresentTimings
impl PartialEq for PresentTimings
impl StructuralPartialEq for PresentTimings
Auto Trait Implementations§
impl Freeze for PresentTimings
impl RefUnwindSafe for PresentTimings
impl Send for PresentTimings
impl Sync for PresentTimings
impl Unpin for PresentTimings
impl UnsafeUnpin for PresentTimings
impl UnwindSafe for PresentTimings
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,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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