diff options
Diffstat (limited to 'native/src/user_interface.rs')
-rw-r--r-- | native/src/user_interface.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index f031b090..f29cbcc5 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -10,7 +10,6 @@ use std::hash::Hasher; /// charge of using this type in your system in any way you want. /// /// [`Layout`]: struct.Layout.html -#[derive(Debug)] pub struct UserInterface<'a, Message, Renderer> { hash: u64, root: Element<'a, Message, Renderer>, @@ -52,7 +51,7 @@ where /// # impl iced_native::column::Renderer for Renderer { /// # fn draw<Message>( /// # &mut self, - /// # _column: &iced_native::Column<'_, Message, Self>, + /// # _children: &[iced_native::Element<'_, Message, Self>], /// # _layout: iced_native::Layout<'_>, /// # _cursor_position: iced_native::Point, /// # ) -> Self::Output { @@ -133,8 +132,8 @@ where /// [`Event`]: enum.Event.html /// /// # Example - /// Let's allow our [counter](index.html#usage) to change state by completing - /// [the previous example](#example): + /// Let's allow our [counter](index.html#usage) to change state by + /// completing [the previous example](#example): /// /// ```no_run /// use iced_native::{UserInterface, Cache}; @@ -152,7 +151,7 @@ where /// # impl iced_native::column::Renderer for Renderer { /// # fn draw<Message>( /// # &mut self, - /// # _column: &iced_native::Column<'_, Message, Self>, + /// # _children: &[iced_native::Element<'_, Message, Self>], /// # _layout: iced_native::Layout<'_>, /// # _cursor_position: iced_native::Point, /// # ) -> Self::Output { @@ -252,7 +251,7 @@ where /// # impl iced_native::column::Renderer for Renderer { /// # fn draw<Message>( /// # &mut self, - /// # _column: &iced_native::Column<'_, Message, Self>, + /// # _children: &[iced_native::Element<'_, Message, Self>], /// # _layout: iced_native::Layout<'_>, /// # _cursor_position: iced_native::Point, /// # ) -> Self::Output { |