pub struct RenderReport { /* private fields */ }Expand description
Status and CPU timing breakdown for one renderer frame.
Implementations§
Source§impl RenderReport
impl RenderReport
Sourcepub fn status(self) -> RenderStatus
pub fn status(self) -> RenderStatus
Returns whether the frame was drawn or skipped by the surface.
Sourcepub fn metrics(self) -> RendererFrameMetrics
pub fn metrics(self) -> RendererFrameMetrics
Returns CPU-side stage durations for the render call.
Trait Implementations§
Source§impl Clone for RenderReport
impl Clone for RenderReport
impl Copy for RenderReport
Source§impl Debug for RenderReport
impl Debug for RenderReport
impl Eq for RenderReport
Source§impl PartialEq for RenderReport
impl PartialEq for RenderReport
impl StructuralPartialEq for RenderReport
Auto Trait Implementations§
impl Freeze for RenderReport
impl RefUnwindSafe for RenderReport
impl Send for RenderReport
impl Sync for RenderReport
impl Unpin for RenderReport
impl UnsafeUnpin for RenderReport
impl UnwindSafe for RenderReport
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<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.