pub struct HighResTimerTool;Implementations§
Source§impl HighResTimerTool
impl HighResTimerTool
pub fn new() -> Self
Sourcepub fn start(&self) -> HighResTimer
pub fn start(&self) -> HighResTimer
启动一个高精度计时器
Trait Implementations§
Source§impl Clone for HighResTimerTool
impl Clone for HighResTimerTool
Source§fn clone(&self) -> HighResTimerTool
fn clone(&self) -> HighResTimerTool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HighResTimerTool
impl Debug for HighResTimerTool
Auto Trait Implementations§
impl Freeze for HighResTimerTool
impl RefUnwindSafe for HighResTimerTool
impl Send for HighResTimerTool
impl Sync for HighResTimerTool
impl Unpin for HighResTimerTool
impl UnsafeUnpin for HighResTimerTool
impl UnwindSafe for HighResTimerTool
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