pub struct SubmissionReport {
pub gpu_ms: f64,
pub frame: Option<FrameMark>,
pub effects: Vec<String>,
pub predicted_ms: Option<f64>,
}Expand description
The longest recent submission and what it rendered.
Fields§
§gpu_ms: f64GPU time in milliseconds; for one still running, the time so far.
frame: Option<FrameMark>The frame it rendered, when the caller marked one.
effects: Vec<String>The effects it ran, as id@version.
predicted_ms: Option<f64>Predicted GPU time in milliseconds, when the frame was planned.
Trait Implementations§
Source§impl Clone for SubmissionReport
impl Clone for SubmissionReport
Source§impl Debug for SubmissionReport
impl Debug for SubmissionReport
Source§impl PartialEq for SubmissionReport
impl PartialEq for SubmissionReport
impl StructuralPartialEq for SubmissionReport
Auto Trait Implementations§
impl Freeze for SubmissionReport
impl RefUnwindSafe for SubmissionReport
impl Send for SubmissionReport
impl Sync for SubmissionReport
impl Unpin for SubmissionReport
impl UnsafeUnpin for SubmissionReport
impl UnwindSafe for SubmissionReport
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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