pub trait ControlTarget {
// Required method
fn set_control(
&mut self,
name: &str,
value: PropValue,
) -> Result<(), PropError>;
}Expand description
The property surface a controller drives. Implemented for the erased element
traits the runner’s arms hold, so one sampling path serves a transform, a
sink, and a fan-in element. Those traits are std-only (a no_std graph runs
monomorphised elements), so the impls are too; an element type can implement
this directly to be driven without them.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ControlTarget for dyn DynAsyncElement + '_
Available on crate feature
std only.impl ControlTarget for dyn DynMultiInputElement + '_
Available on crate feature
std only.