pub struct HalDelay;Expand description
HalDelay object based on blocking SystemTime::elapsed calls
Trait Implementations§
Source§impl DelayNs for HalDelay
impl DelayNs for HalDelay
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 Freeze for HalDelay
impl RefUnwindSafe for HalDelay
impl Send for HalDelay
impl Sync for HalDelay
impl Unpin for HalDelay
impl UnwindSafe for HalDelay
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