pub struct StageMetrics {
pub frames_processed: u64,
pub errors: u64,
}Expand description
Per-stage metrics snapshot, included in StageContext for
stages that want to adapt behavior based on their own performance.
Fields§
§frames_processed: u64Cumulative frame count processed by this stage.
errors: u64Cumulative error count for this stage.
Trait Implementations§
Source§impl Clone for StageMetrics
impl Clone for StageMetrics
Source§fn clone(&self) -> StageMetrics
fn clone(&self) -> StageMetrics
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 Debug for StageMetrics
impl Debug for StageMetrics
impl Copy for StageMetrics
Auto Trait Implementations§
impl Freeze for StageMetrics
impl RefUnwindSafe for StageMetrics
impl Send for StageMetrics
impl Sync for StageMetrics
impl Unpin for StageMetrics
impl UnsafeUnpin for StageMetrics
impl UnwindSafe for StageMetrics
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