Implement `std::iter::Sum` for color types
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Search the color types and existing std::iter trait implementations in the Rust source, then inspect nearby tests or examples for color arithmetic. Implement Sum consistently for the relevant color types and add or update tests showing that an iterator of colors can be summed successfully.
Written by the indexing model from the issue text.
Description
What problem does this solve or what need does it fill?
This allows you to use .sum() on a list of colors.
It should be a simple change; I may be willing to contribute if I'm confident it's easy enough.
- Dominant language
- Rust
- Stars
- 48.3k
- Forks
- 4.9k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 172
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bevyengine/bevy
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
C-Docs D-Straightforward
Difficulty 1/5 Under an hour Newbie friendliness 78/100
bevyengine/bevy#25850 ·
-
A-Dev-Tools C-Bug D-Modest
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bevyengine/bevy#25849 ·
-
A-Assets A-Text C-Feature D-Modest S-Needs-Design
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bevyengine/bevy#25842 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bevyengine/bevy#25788 ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100