pub struct Inversion;Expand description
Reverses a random segment (2-opt move for tours). Works for any Vec<T>.
Trait Implementations§
impl Copy for Inversion
impl Eq for Inversion
impl StructuralPartialEq for Inversion
Auto Trait Implementations§
impl Forget for Inversion
impl Freeze for Inversion
impl Move for Inversion
impl RefUnwindSafe for Inversion
impl Send for Inversion
impl Sync for Inversion
impl Unpin for Inversion
impl UnsafeUnpin for Inversion
impl UnwindSafe for Inversion
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