pub struct CostSample {
pub n: f64,
pub time_ms: f64,
}Expand description
One observation: a workload size and the time it took (milliseconds).
Fields§
§n: f64Workload size (entities, bodies, draws, …).
time_ms: f64Observed cost in milliseconds.
Trait Implementations§
Source§impl Clone for CostSample
impl Clone for CostSample
Source§fn clone(&self) -> CostSample
fn clone(&self) -> CostSample
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 moreSource§impl Debug for CostSample
impl Debug for CostSample
impl Copy for CostSample
Auto Trait Implementations§
impl Freeze for CostSample
impl RefUnwindSafe for CostSample
impl Send for CostSample
impl Sync for CostSample
impl Unpin for CostSample
impl UnsafeUnpin for CostSample
impl UnwindSafe for CostSample
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