PermApply

Trait PermApply 

Source
pub trait PermApply<T>
where T: ?Sized,
{ type Output; // Required method fn apply(&self, input: &mut T) -> Self::Output; }
Expand description

The permutation operator on slice-like types.

Required Associated Types§

Required Methods§

Source

fn apply(&self, input: &mut T) -> Self::Output

Implementors§

Source§

impl<T> PermApply<[T]> for PermD

Source§

type Output = Result<(), &'static str>

Source§

impl<T> PermApply<Vec<T>> for PermD

Source§

type Output = Result<(), &'static str>

Source§

impl<T, const SIZE: usize> PermApply<[T; SIZE]> for PermD

Source§

type Output = Result<(), &'static str>

Source§

impl<T, const SIZE: usize> PermApply<[T; SIZE]> for PermS<SIZE>

Source§

impl<T, const SIZE: usize> PermApply<[T]> for PermS<SIZE>

Source§

type Output = Result<(), &'static str>

Source§

impl<T, const SIZE: usize> PermApply<Vec<T>> for PermS<SIZE>

Source§

type Output = Result<(), &'static str>