pub struct NoOp<E = ()>(/* private fields */);Expand description
Does nothing on drop. Generic over the Extra type to work with any algorithm.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for NoOp<E>
impl<E> RefUnwindSafe for NoOp<E>where
E: RefUnwindSafe,
impl<E> Send for NoOp<E>where
E: Send,
impl<E> Sync for NoOp<E>where
E: Sync,
impl<E> Unpin for NoOp<E>where
E: Unpin,
impl<E> UnsafeUnpin for NoOp<E>
impl<E> UnwindSafe for NoOp<E>where
E: UnwindSafe,
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