pub struct Spin;
Expand description
Rapid spinning.
This emits core::hint::spin_loop
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Spin
impl RefUnwindSafe for Spin
impl Send for Spin
impl Sync for Spin
impl Unpin for Spin
impl UnwindSafe for Spin
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