[−][src]Trait mop_blocks::Solution
Solution is a set/tuple of flattened and indexed variables.
Solution is a set/tuple of flattened and indexed variables.
const MAX_LEN: usize
fn has_var(&self, idx: usize) -> bool
fn inter_swap(&mut self, other: &mut Self, idx: usize)
fn intra_swap(&mut self, a: usize, b: usize)
fn len(&self) -> usize
fn is_empty(&self) -> bool
impl<T> Solution for ArrayVec<[T; 1]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 2]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 3]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 4]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 5]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 6]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 7]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 8]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 9]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 10]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 11]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 12]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 13]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 14]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 15]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 16]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 17]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 18]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 19]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 20]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 21]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 22]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 23]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 24]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 25]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 26]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 27]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 28]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 29]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 30]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 31]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for ArrayVec<[T; 32]>
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 1]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 2]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 3]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 4]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 5]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 6]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 7]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 8]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 9]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 10]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 11]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 12]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 13]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 14]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 15]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 16]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 17]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 18]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 19]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 20]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 21]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 22]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 23]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 24]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 25]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 26]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 27]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 28]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 29]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 30]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 31]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]impl<T> Solution for [T; 32]
[src]const MAX_LEN: usize
[src]fn has_var(&self, idx: usize) -> bool
[src]fn inter_swap(&mut self, other: &mut Self, idx: usize)
[src]fn intra_swap(&mut self, a: usize, b: usize)
[src]fn len(&self) -> usize
[src]