SliceOps

Trait SliceOps 

Source
pub trait SliceOps<T> {
    // Required methods
    fn permutations(self, callback: impl FnMut(&[T]));
    fn half_permutations(self, callback: impl FnMut(&[T]));
}

Required Methods§

Source

fn permutations(self, callback: impl FnMut(&[T]))

Source

fn half_permutations(self, callback: impl FnMut(&[T]))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> SliceOps<T> for &mut [T]

Source§

fn permutations(self, callback: impl FnMut(&[T]))

Source§

fn half_permutations(self, callback: impl FnMut(&[T]))

Implementors§