pub struct TickDelay<T> { /* private fields */ }Expand description
DelayNs implementation
Trait Implementations§
Source§impl<T> Default for TickDelay<T>where
T: TickInstant,
impl<T> Default for TickDelay<T>where
T: TickInstant,
Source§impl<T> DelayNs for TickDelay<T>where
T: TickInstant,
impl<T> DelayNs for TickDelay<T>where
T: TickInstant,
Source§fn delay_ns(&mut self, ns: u32)
fn delay_ns(&mut self, ns: u32)
Pauses execution for at minimum
ns nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.Auto Trait Implementations§
impl<T> Freeze for TickDelay<T>
impl<T> RefUnwindSafe for TickDelay<T>where
T: RefUnwindSafe,
impl<T> Send for TickDelay<T>where
T: Send,
impl<T> Sync for TickDelay<T>where
T: Sync,
impl<T> Unpin for TickDelay<T>where
T: Unpin,
impl<T> UnwindSafe for TickDelay<T>where
T: 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