Trait rusty_perm::PermApply[][src]

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

The permutation operator on slice-like types.

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

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

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

impl<T> PermApply<Vec<T, Global>> for PermD[src]

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

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

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

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

type Output = ()

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

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

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

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

Loading content...