kornelski / rust-rgb

struct RGB for sharing pixels between crates
https://lib.rs/rgb
MIT License
98 stars 19 forks source link

Add more conversions for `argb` types #45

Closed Diegovsky closed 2 years ago

Diegovsky commented 2 years ago

This is to close #44 which I opened earlier today. Since I wrote new tests that depended on argb feature, I also fixed compilation errors when cargo testing with it enabled.

kornelski commented 2 years ago

That added type hint worries me. Was it necessary?

Diegovsky commented 2 years ago

I need to because the compiler kept getting confused. It might be my version tho rustc --version rustc 1.58.0-nightly (6d246f0c8 2021-11-26)