error[E0277]: the trait bound `iced_wgpu::backend::Backend: iced_graphics::backend::Image` is not satisfied
--> src/components/general/floating_frame.rs:74:28
|
74 | let collapse_btn = iced::Button::new(
| ^^^^^^^^^^^^^^^^^ the trait `iced_graphics::backend::Image` is not implemented for `iced_wgpu::backend::Backend`
|
= note: required because of the requirements on the impl of `iced_native::widget::image::Renderer` for `iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>`
= note: required because of the requirements on the impl of `From<Image>` for `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>`
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<iced_wgpu::backend::Backend>>>` for `Image`
= note: required by `iced_native::widget::button::Button::<'a, Message, Renderer>::new`
Do I need to use Image from a specific crate (other than iced)?
How do you make an image button?
When I try
... it doesn't compile:
Do I need to use
Image
from a specific crate (other thaniced
)?