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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes