pub struct DevTime {}
Expand description
The DevTime
struct provides a simple implementation
for benchmarking operations using the standard library.
Implementations§
Source§impl DevTime
impl DevTime
Sourcepub fn new_simple() -> SimpleTimer
pub fn new_simple() -> SimpleTimer
Returns a new SimpleTimer
instance
Sourcepub fn new_complex() -> ComplexTimer
pub fn new_complex() -> ComplexTimer
Returns a new ComplexTimer
instance
Auto Trait Implementations§
impl Freeze for DevTime
impl RefUnwindSafe for DevTime
impl Send for DevTime
impl Sync for DevTime
impl Unpin for DevTime
impl UnwindSafe for DevTime
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