schell / schell/wgsl-rs

add `#[derive(Eq,Hash)]` to `VecN<T>`

Open Beginner friendly
#161 0 comments 1 reaction 0 assignees View on GitHub
enhancement P1
Dominant language
Rust
Stars
61
Forks
4
Avg merge
1d 21h
Merged PRs (30d)
9

Description

It's handy to be able to use things like `Vec3u` as a hashmap key. As the derives work by adding `impl Hash for VecN { ... }` etc, non `Hash`/`Eq` types (e.g. Vec3f) are unaffected.

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the definition of VecN and inspect its existing derives. Add the requested Eq and Hash derives so Vec3u can be used as a hashmap key while types such as Vec3f remain unaffected; verify the behavior with the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.