Dirac

Trait Dirac 

Source
pub trait Dirac<Rhs> {
    type Output;

    // Required method
    fn apply(self, rhs: Rhs) -> Self::Output;
}
Expand description

Dirac is used to define a specific transformation operation

Required Associated Types§

Required Methods§

Source

fn apply(self, rhs: Rhs) -> Self::Output

Implementors§

Source§

impl<S, T, K> Dirac<&TriadBase<S, K, T>> for &LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>

Source§

impl<S, T, K> Dirac<&TriadBase<S, K, T>> for LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>

Source§

impl<S, T, K> Dirac<&mut TriadBase<S, K, T>> for LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>

Source§

impl<S, T, K> Dirac<TriadBase<S, K, T>> for &LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>

Source§

impl<S, T, K> Dirac<TriadBase<S, K, T>> for &mut LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>

Source§

impl<S, T, K> Dirac<TriadBase<S, K, T>> for LPR
where <K as Relative>::Rel: TriadType, S: TriadRepr<Elem = T>, T: Copy + FromPrimitive + One + PitchMod<Output = T> + Add<Output = T> + Sub<Output = T>, K: TriadType,

Source§

type Output = TriadBase<S, <K as Relative>::Rel, T>