pub struct Profiler { /* private fields */ }Expand description
A Profiler stores the scope tree and keeps track of the currently active
scope.
Note that there is a global thread-local instance of Profiler in
PROFILER, so it is not possible to manually
create an instance of Profiler.
Implementations§
Auto Trait Implementations§
impl Freeze for Profiler
impl !RefUnwindSafe for Profiler
impl !Send for Profiler
impl !Sync for Profiler
impl Unpin for Profiler
impl !UnwindSafe for Profiler
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