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
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 implementedfor `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)?
The text was updated successfully, but these errors were encountered:
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
)?The text was updated successfully, but these errors were encountered: