pub struct ProfilerFrame {
pub begin_time: f64,
pub end_time: f64,
pub covered_time: f64,
pub counters: ProfilerCounter,
}
Fields§
§begin_time: f64
§end_time: f64
§covered_time: f64
§counters: ProfilerCounter
Implementations§
Source§impl ProfilerFrame
impl ProfilerFrame
pub fn begin_new(time: f64) -> ProfilerFrame
pub fn new() -> ProfilerFrame
Trait Implementations§
Source§impl Clone for ProfilerFrame
impl Clone for ProfilerFrame
Source§fn clone(&self) -> ProfilerFrame
fn clone(&self) -> ProfilerFrame
Returns a copy 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 ProfilerFrame
impl RefUnwindSafe for ProfilerFrame
impl Send for ProfilerFrame
impl Sync for ProfilerFrame
impl Unpin for ProfilerFrame
impl UnwindSafe for ProfilerFrame
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