pub struct Ringu { /* private fields */ }
Implementations§
Source§impl Ringu
impl Ringu
pub fn default() -> Self
Sourcepub fn new_with_spin(spin: SpinFunc) -> Self
pub fn new_with_spin(spin: SpinFunc) -> Self
Provide a custom spin function that will be called when we’re trying to lock this struct
Auto Trait Implementations§
impl !Freeze for Ringu
impl RefUnwindSafe for Ringu
impl Send for Ringu
impl Sync for Ringu
impl Unpin for Ringu
impl UnwindSafe for Ringu
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