keyberon icon indicating copy to clipboard operation
keyberon copied to clipboard

Action/Layout: Explicit the Debug trait to be able to use it

Open borisfaure opened this issue 1 year ago • 0 comments

Even though some types derive Debug, T/K need to implement it.

error[E0277]: `T` doesn't implement `Debug`
   --> src/layout.rs:89:25
    |
89  |     layers: &'static [[[Action<T, K>; C]; R]; L],
    |                         ^^^^^^^^^^^^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
    |
note: required by a bound in `Action`

borisfaure avatar Jun 24 '23 10:06 borisfaure