1
0
Fork 0
Commit graph

9 commits

Author SHA1 Message Date
Robbert van der Helm 6d70e30584 Add send and sync constraints to boxed callbacks
Otherwise the Sync constraint on Plugin cannot be satisfied.
2022-01-25 22:46:12 +01:00
Robbert van der Helm fba92cd333 Require a Default instance on plugins
Since that's how they're going to be initialized
2022-01-25 22:38:34 +01:00
Robbert van der Helm 5d0fbcd60d Clamp parameter values in (un)normalization
In case the host or the plugin does something weird.
2022-01-25 22:30:11 +01:00
Robbert van der Helm d7929920c9 Add rounding to integer ranges 2022-01-25 22:26:38 +01:00
Robbert van der Helm 3c950d98d4 Move implementation details to the module's end 2022-01-25 22:23:57 +01:00
Robbert van der Helm 7065e900a7 Make ParamPtr debug printable 2022-01-25 22:18:10 +01:00
Robbert van der Helm 11c4112361 Mention that this won't implement parameter groups 2022-01-25 20:36:43 +01:00
Robbert van der Helm 3f2f932a55 Add a function for getting pointers from params
So we don't need to implement this ad-hoc. That would even be impossible
to do correctly inside of the proc macro.
2022-01-25 19:54:27 +01:00
Robbert van der Helm 4cd9c6d3d3 Rename packages to snake case
I much prefer kebab case, but snake case is better here since Rust would
convert it to snake case when used as an identifier anyways and you also
can't use snake case modules without explicit module path attributes.
2022-01-25 12:35:13 +01:00