pub struct Profiler {
pub frames: Vec<ProfileFrame>,
pub current_frame: ProfileFrame,
pub stack: Vec<String>,
pub max_frames: usize,
pub enabled: bool,
pub frame_counter: u64,
pub simulated_ns: u64,
}Fields§
§frames: Vec<ProfileFrame>§current_frame: ProfileFrame§stack: Vec<String>§max_frames: usize§enabled: bool§frame_counter: u64§simulated_ns: u64Auto Trait Implementations§
impl Freeze for Profiler
impl RefUnwindSafe for Profiler
impl Send for Profiler
impl Sync for Profiler
impl Unpin for Profiler
impl UnsafeUnpin 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