gltf-rs / gltf

A crate for loading glTF 2.0
Apache License 2.0
535 stars 124 forks source link

Hash for gltf::mesh::Mode #343

Open HyPNOTIQ opened 2 years ago

HyPNOTIQ commented 2 years ago

Hello, I am working on a simple viewer and for some purpose, I need Hash for gltf::mesh::Mode. For now, I have a workaround with wrapper struct and manual Hash implementation, however, it's kind of ugly and wordy. My question is it possible to add #[derive(Hash)] for gltf::mesh::Mode?