Struct spinning_top::relax::Spin
source · pub struct Spin;
Expand description
Rapid spinning.
This emits core::hint::spin_loop
.
Trait Implementations§
Auto Trait Implementations§
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