pub struct Loop;
Expand description
A strategy that rapidly spins, without telling the CPU to do any powering down.
You almost certainly do not want to use this. Use Spin
instead. It exists for completeness and for targets
that, for some reason, miscompile or do not support spin hint intrinsics despite attempting to generate code for
them (i.e: this is a workaround for possible compiler bugs).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnwindSafe for Loop
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