pub struct PathBenchScope<Config: MicroBenchConfig> { /* private fields */ }
Expand description
End-of-Scope handler for path bench
Implementations§
Source§impl<Config: MicroBenchConfig> PathBenchScope<Config>
impl<Config: MicroBenchConfig> PathBenchScope<Config>
Sourcepub unsafe fn new(state: *mut PathBenchState, interval: u64) -> Self
pub unsafe fn new(state: *mut PathBenchState, interval: u64) -> Self
Create path bench scope
Trait Implementations§
Source§impl<Config: Debug + MicroBenchConfig> Debug for PathBenchScope<Config>
impl<Config: Debug + MicroBenchConfig> Debug for PathBenchScope<Config>
Source§impl<Config: MicroBenchConfig> Drop for PathBenchScope<Config>
impl<Config: MicroBenchConfig> Drop for PathBenchScope<Config>
Auto Trait Implementations§
impl<Config> Freeze for PathBenchScope<Config>
impl<Config> RefUnwindSafe for PathBenchScope<Config>where
Config: RefUnwindSafe,
impl<Config> !Send for PathBenchScope<Config>
impl<Config> !Sync for PathBenchScope<Config>
impl<Config> Unpin for PathBenchScope<Config>where
Config: Unpin,
impl<Config> UnwindSafe for PathBenchScope<Config>where
Config: UnwindSafe,
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