pub trait PitchEnvelopeControls {
// Required method
fn edits(&self, wanted: &Wanted, ctx: &MapContext<'_>) -> Mapped;
}Expand description
The controls and laws of one synth for the pitch and envelope groups.
Required Methods§
Sourcefn edits(&self, wanted: &Wanted, ctx: &MapContext<'_>) -> Mapped
fn edits(&self, wanted: &Wanted, ctx: &MapContext<'_>) -> Mapped
The edits of one setting: fit_param and its siblings with the
synth’s keys and wanted.want.field() as the field. map sets
each edit’s reason to wanted.want.group(). The edits are param
and route records only, the two kinds the layers.json schema
takes. A setting the synth has no control for gives a not_in_synth
entry; one whose effect is unprobed gives an unprobed entry in
unwritten.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".