Better IDE integration

Neither the JB Rust plugin nor rust-analyzer appear to see that the enum implements the trait.

Check if its possible to have better IDE integration