Transform

Trait Transform 

Source
pub trait Transform<Rhs> {
    type Output;

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

The Transform trait establishes a binary operation that for objects capable of being transformed by another object of type Rhs, producing some output.

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<S, T, K> Transform<LPR> for TriadBase<S, K, T>
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>