diff --git a/src/param.rs b/src/param.rs index a64a2d51..6b8dec78 100644 --- a/src/param.rs +++ b/src/param.rs @@ -29,6 +29,10 @@ pub mod smoothing; pub type FloatParam = PlainParam; pub type IntParam = PlainParam; +// TODO: Instead of having just structs with public fields and a Default instance, consider also +// adding `new` functions that take just the essentials (name, default value, range) and then +// have builders for the other fields. That might make the params object a bit less verbose. + /// Describes a single parameter of any type. pub trait Param: Display { /// The plain parameter type.