kornelski / rust-rgb

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

Implement AddAssign, SubAssign, and MulAssign along with associated tests #26

Closed connorskees closed 5 years ago

connorskees commented 5 years ago

This PR resolves https://github.com/kornelski/rust-rgb/issues/11. It implements AddAssign, SubAssign, and MulAssign for RGB and RGBA, as well as introduces a large number of new tests (sanity checks) for these methods

kornelski commented 5 years ago

Thank you