Function profile_traits::time::profile
source · pub fn profile<T, F>(
category: ProfilerCategory,
meta: Option<TimerMetadata>,
profiler_chan: ProfilerChan,
callback: F
) -> Twhere
F: FnOnce() -> T,
pub fn profile<T, F>(
category: ProfilerCategory,
meta: Option<TimerMetadata>,
profiler_chan: ProfilerChan,
callback: F
) -> Twhere
F: FnOnce() -> T,