pub trait HblankControlAdapter<T> {
type Value: ControlField;
// Required methods
fn to_control(value: &T) -> Self::Value;
fn apply_control(value: &mut T, control: Self::Value);
}Expand description
Maps a project domain type onto one of Hblank’s built-in control value types.
The adapter keeps domain conversion in project code while Hblank owns editor UI, validation, reset behavior, and session serialization.
Required Associated Types§
Required Methods§
fn to_control(value: &T) -> Self::Value
fn apply_control(value: &mut T, control: Self::Value)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".