diff options
author | 2020-04-02 02:35:36 +0200 | |
---|---|---|
committer | 2020-04-02 03:44:14 +0200 | |
commit | 1b0cb0d13ab2854de9da0f30e20b92a5159c244e (patch) | |
tree | 3850a9897790d4394120a14eb7c535a5d7224913 /native/src/user_interface.rs | |
parent | 1f85e1167c6fc2249647a42ada06ca5e2ba8f94c (diff) | |
download | iced-1b0cb0d13ab2854de9da0f30e20b92a5159c244e.tar.gz iced-1b0cb0d13ab2854de9da0f30e20b92a5159c244e.tar.bz2 iced-1b0cb0d13ab2854de9da0f30e20b92a5159c244e.zip |
Add example to `iced_native::UserInterface`
Diffstat (limited to 'native/src/user_interface.rs')
-rw-r--r-- | native/src/user_interface.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 08914bed..5d9221e9 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -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, |