Skip to main content Crate truce_params Copy item path Source pub use sample::Float ;pub use sample::Sample ;sample Float and Sample - the precision-routing traits that let
plugin code stay in one float type without per-call-site casts.BoolParam A boolean parameter. EnumParam An enum parameter. FloatParam A continuous floating-point parameter. IntParam An integer parameter. MeterSlot A meter slot with an auto-assigned ID. ParamFlags ParamInfo Metadata for a single parameter, used by format wrappers. Smoother Per-parameter smoother. All methods take &self for interior
mutability, enabling use through Arc<Params>. ParamRange Defines how a parameter maps between plain and normalized values. ParamUnit ParamValueKind Which strongly-typed *Param constructor produced this
ParamInfo . The #[derive(Params)] macro sets it from the
field type so format-side code can branch on the original
typing without re-deriving it from range / unit. SmoothingStyle Smoothing style for a parameter. FloatParamReadF32 Precision-routed read accessors for FloatParam at f32. FloatParamReadF64 Precision-routed read accessors for FloatParam at f64. See
FloatParamReadF32 for the contract. ParamEnum Trait for enums used as parameters. Params Trait implemented by #[derive(Params)] on a struct.
Format wrappers use this to enumerate, read, and write parameters. format_param_value Format a plain parameter value as a display string based on the parameter’s unit.