pub struct ParseTimer { /* private fields */ }Expand description
Timer for measuring parse duration (std only)
Implementations§
Source§impl ParseTimer
impl ParseTimer
pub fn new() -> Self
pub fn elapsed_us(&self) -> u64
Auto Trait Implementations§
impl Freeze for ParseTimer
impl RefUnwindSafe for ParseTimer
impl Send for ParseTimer
impl Sync for ParseTimer
impl Unpin for ParseTimer
impl UnwindSafe for ParseTimer
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