Try to improve errors and documentation for converting from Srgba<u8>
to Hsla<f32>
and similar
#268
Labels
documentation
Related to things like README or the API documentation.
The error message suggests that
Srgba<u8>
would need to implementWithAlpha<f32>
, due to this:Ideas for making it more clear:
impl
above to dodge the error message. It may need to be a bit more strict.impl
is missing.See discussion #267 where it was brought up.
The text was updated successfully, but these errors were encountered: