pub struct MacroProfile { /* private fields */ }Expand description
Counts of the profiler.
Implementations§
Source§impl MacroProfile
impl MacroProfile
Sourcepub fn from_env() -> Option<Box<MacroProfile>>
pub fn from_env() -> Option<Box<MacroProfile>>
The profiler, if RETEX_MACRO_PROFILE is set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MacroProfile
impl RefUnwindSafe for MacroProfile
impl Send for MacroProfile
impl Sync for MacroProfile
impl Unpin for MacroProfile
impl UnsafeUnpin for MacroProfile
impl UnwindSafe for MacroProfile
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