linebender / linebender/tiny-skia
const fn for Color::from_rgba8
Open
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 99
- Avg merge
- 2h 52m
- Merged PRs (30d)
- 1
Description
It would be nice to have a const version of this so it is possible to create color names in an application.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the Rust implementation of Color::from_rgba8 and inspect how the existing constructor is defined. Make the requested constructor usable in const contexts, then verify that applications can create named colors from RGBA8 values at compile time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100