Remove widget module re-exports in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2021-10-31 15:35:12 +07:00
parent e5e477aa69
commit 0aafcde0ef
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
81 changed files with 166 additions and 154 deletions

View file

@ -237,7 +237,10 @@ impl backend::Text for Backend {
#[cfg(feature = "image")]
impl backend::Image for Backend {
fn dimensions(&self, _handle: &iced_native::image::Handle) -> (u32, u32) {
fn dimensions(
&self,
_handle: &iced_native::widget::image::Handle,
) -> (u32, u32) {
(50, 50)
}
}
@ -246,7 +249,7 @@ impl backend::Image for Backend {
impl backend::Svg for Backend {
fn viewport_dimensions(
&self,
_handle: &iced_native::svg::Handle,
_handle: &iced_native::widget::svg::Handle,
) -> (u32, u32) {
(50, 50)
}