1
0
Fork 0

Add a todo for combining the Params methods

This commit is contained in:
Robbert van der Helm 2022-03-20 02:44:13 +01:00
parent b9d79771cc
commit a6f4202ac5

View file

@ -43,6 +43,9 @@ pub trait Params {
// NOTE: These types use `String` even though for the `Params` derive macro `&'static str` would
// have been fine to be able to support custom reusable Params implemnetations.
// TODO: Combine `param_map`, `param_groups`, and `param_ids` into a single function that
// returns a vector of tuples
/// Create a mapping from unique parameter IDs to parameters. This is done for every parameter
/// field marked with `#[id = "stable_name"]`. Dereferencing the pointers stored in the values
/// is only valid as long as this pinned object is valid.