Skip to main content Crate truce_params Copy item path Source BoolParam A boolean parameter. EnumParam An enum parameter. FloatParam A continuous floating-point parameter. IntParam An integer parameter. 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>. Thread safety relies on the host
guarantee that process() and reset() never run concurrently. ParamRange Defines how a parameter maps between plain and normalized values. ParamUnit SmoothingStyle Smoothing style for a parameter. 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.