pub struct PerformanceResult {
pub passed: bool,
pub max_frame_ms: u64,
pub mean_frame_ms: f64,
pub variance: f64,
pub pass_rate: f64,
pub violations: Vec<String>,
}Expand description
Performance verification result
Fields§
§passed: boolWhether all thresholds passed
max_frame_ms: u64Max frame time observed
mean_frame_ms: f64Mean frame time observed
variance: f64Timing variance observed
pass_rate: f64Pass rate observed
violations: Vec<String>List of threshold violations
Trait Implementations§
Source§impl Clone for PerformanceResult
impl Clone for PerformanceResult
Source§fn clone(&self) -> PerformanceResult
fn clone(&self) -> PerformanceResult
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 moreAuto Trait Implementations§
impl Freeze for PerformanceResult
impl RefUnwindSafe for PerformanceResult
impl Send for PerformanceResult
impl Sync for PerformanceResult
impl Unpin for PerformanceResult
impl UnsafeUnpin for PerformanceResult
impl UnwindSafe for PerformanceResult
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