diff options
author | 2019-11-24 11:34:30 +0100 | |
---|---|---|
committer | 2019-11-24 11:34:30 +0100 | |
commit | 149fd2aa1fa86858c7c1dcec8fd844caa78cec94 (patch) | |
tree | a199cf8d2caaf6aa60e48e93d6dd0688969d43b0 /native/src/user_interface.rs | |
parent | 9712b319bb7a32848001b96bd84977430f14b623 (diff) | |
parent | 47196c9007d12d3b3e0036ffabe3bf6d14ff4523 (diff) | |
download | iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.tar.gz iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.tar.bz2 iced-149fd2aa1fa86858c7c1dcec8fd844caa78cec94.zip |
Merge pull request #65 from hecrj/improvement/docs
Documentation
Diffstat (limited to 'native/src/user_interface.rs')
-rw-r--r-- | native/src/user_interface.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 9324fe0b..9833c815 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -10,7 +10,7 @@ use std::hash::Hasher; /// charge of using this type in your system in any way you want. /// /// [`Layout`]: struct.Layout.html -#[derive(Debug)] +#[allow(missing_debug_implementations)] pub struct UserInterface<'a, Message, Renderer> { hash: u64, root: Element<'a, Message, Renderer>, @@ -52,7 +52,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 { @@ -129,8 +129,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}; @@ -148,7 +148,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 { @@ -248,7 +248,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 { |