Skip to main content

registry_for

Function registry_for 

Source
pub fn registry_for(
    synth: Synth,
) -> Result<&'static dyn ParamRegistry, SynthError>
Expand description

The registry of a synth.

ยงErrors

SynthError::NotBuilt for a synth outside Synth::READY, and SynthError::BrokenData if the built-in data does not load.