You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
163 | let bus = Image::new(&ImageRaw::new(include_bytes!("../../icons/Bus.raw"), 30),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait From<()> is not implemented for epd_waveshare::color::Color
|
I guess it's missing some conversions?
It's defined as
impl<'a, C, BO> ImageRaw<'a, C, BO>
where
C: PixelColor + From<<C as PixelColor>::Raw>,
BO: ByteOrder,
{
I also tried creating a BinaryColor raw image, but then I cannot draw it on a "Color" display.
would it be possible to standardize into "BinaryColor" from embedded_graphics?, I could be missing lots of things, ... still new to rust.
The text was updated successfully, but these errors were encountered:
163 | let bus = Image::new(&ImageRaw::new(include_bytes!("../../icons/Bus.raw"), 30),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait
From<()>
is not implemented forepd_waveshare::color::Color
|
I guess it's missing some conversions?
It's defined as
I also tried creating a BinaryColor raw image, but then I cannot draw it on a "Color" display.
would it be possible to standardize into "BinaryColor" from embedded_graphics?, I could be missing lots of things, ... still new to rust.
The text was updated successfully, but these errors were encountered: