pub struct Fun<I: Debug> { /* private fields */ }
Expand description
Representing a function to benchmark together with a name of that function.
Used together with bench_functions
to represent one out of multiple functions
under benchmark.
Implementations§
Auto Trait Implementations§
impl<I> Freeze for Fun<I>
impl<I> !RefUnwindSafe for Fun<I>
impl<I> !Send for Fun<I>
impl<I> !Sync for Fun<I>
impl<I> Unpin for Fun<I>
impl<I> !UnwindSafe for Fun<I>
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