Adds a lot more flexibility to the GainAlpha and LoseAlpha.
The coolest part of this for me was changing the bound on the associated type of GainAlpha from type GainAlpha: HetPixel; to type GainAlpha: HasAlpha, that felt so cool and will actually be useful in generic functions for using methods from HasAlpha after calling a method on an impl GainAlpha type!
To be reviewed after #97.
Adds a lot more flexibility to the
GainAlpha
andLoseAlpha
.The coolest part of this for me was changing the bound on the associated type of
GainAlpha
fromtype GainAlpha: HetPixel;
totype GainAlpha: HasAlpha
, that felt so cool and will actually be useful in generic functions for using methods fromHasAlpha
after calling a method on animpl GainAlpha
type!