pub struct SwapOp { /* private fields */ }Expand description
Reversible swap of two elements in a slice.
Implementations§
Trait Implementations§
Source§impl<T> Reversible<Vec<T>> for SwapOp
impl<T> Reversible<Vec<T>> for SwapOp
impl Copy for SwapOp
Auto Trait Implementations§
impl Freeze for SwapOp
impl RefUnwindSafe for SwapOp
impl Send for SwapOp
impl Sync for SwapOp
impl Unpin for SwapOp
impl UnsafeUnpin for SwapOp
impl UnwindSafe for SwapOp
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