Add example to `iced_native::UserInterface`

This commit is contained in:
Héctor Ramón Jiménez 2020-04-02 02:35:36 +02:00
parent 1f85e1167c
commit 1b0cb0d13a
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,13 @@ use std::hash::Hasher;
/// charge of using this type in your system in any way you want.
///
/// [`Layout`]: struct.Layout.html
///
/// # Example
/// The [`integration` example] uses a [`UserInterface`] to integrate Iced in
/// an existing graphical application.
///
/// [`integration` example]: https://github.com/hecrj/iced/tree/0.1/examples/integration
/// [`UserInterface`]: struct.UserInterface.html
#[allow(missing_debug_implementations)]
pub struct UserInterface<'a, Message, Renderer> {
hash: u64,