Bridge between the editor and the host / plugin. Format wrappers
(CLAP / VST3 / VST2 / AU / AAX / LV2) implement this trait - or
build a ClosureBridge from per-method closures - and pass an
Arc<dyn EditorBridge> to the editor through PluginContext.
f32-precision parameter reads on PluginContext. Brought into
scope by truce::prelude / truce::prelude32 / truce::prelude64m
(the f32-buffer preludes). GUI binding crates (slint, egui,
iced) take f32 natively, so this is the common case.
f64-precision parameter reads on PluginContext. Brought into
scope by truce::prelude64. Same surface as
PluginContextReadF32 but returns the bridge’s f64 value
directly without narrowing.
Build a PluginContext backed only by params. All write
closures are no-ops; reads delegate to the params Arc; the
transport reports the deterministic
crate::events::TransportInfo::for_screenshot state so
screenshot tests stay reproducible across CI runs.