pub trait SynthMapper: Send + Sync {
// Required methods
fn synth(&self) -> Synth;
fn pitch_envelope(
&self,
input: &PitchEnvelopeGroups,
ctx: &MapContext<'_>,
) -> Mapped;
fn timbre(&self, input: &TimbreGroups, ctx: &MapContext<'_>) -> Mapped;
fn motion_fx(&self, input: &MotionFxGroups, ctx: &MapContext<'_>) -> Mapped;
}Expand description
Maps layer groups to the edits of one synth.
Required Methods§
Sourcefn pitch_envelope(
&self,
input: &PitchEnvelopeGroups,
ctx: &MapContext<'_>,
) -> Mapped
fn pitch_envelope( &self, input: &PitchEnvelopeGroups, ctx: &MapContext<'_>, ) -> Mapped
Edits for the pitch and envelope groups.
Sourcefn timbre(&self, input: &TimbreGroups, ctx: &MapContext<'_>) -> Mapped
fn timbre(&self, input: &TimbreGroups, ctx: &MapContext<'_>) -> Mapped
Edits for the timbre groups.
Sourcefn motion_fx(&self, input: &MotionFxGroups, ctx: &MapContext<'_>) -> Mapped
fn motion_fx(&self, input: &MotionFxGroups, ctx: &MapContext<'_>) -> Mapped
Edits for the motion and effect groups.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".