pub struct Insertion;Expand description
Removes one element and reinserts it at another position. Works for any Vec<T>.
Trait Implementations§
impl Copy for Insertion
impl Eq for Insertion
impl StructuralPartialEq for Insertion
Auto Trait Implementations§
impl Forget for Insertion
impl Freeze for Insertion
impl Move for Insertion
impl RefUnwindSafe for Insertion
impl Send for Insertion
impl Sync for Insertion
impl Unpin for Insertion
impl UnsafeUnpin for Insertion
impl UnwindSafe for Insertion
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