Write documentation for UserInterface
This commit is contained in:
parent
51050fc45c
commit
268a5f0017
5 changed files with 214 additions and 14 deletions
|
|
@ -44,10 +44,6 @@ use crate::{Event, Hasher, Layout, MouseCursor, Node, Point};
|
|||
/// If you want to build your own widgets, you will need to implement this
|
||||
/// trait.
|
||||
///
|
||||
/// Additionally, remember to also provide [`Into<Element>`] so your users can
|
||||
/// easily turn your [`Widget`] into a generic [`Element`].
|
||||
///
|
||||
/// [`Into<Element>`]: ../struct.Element.html
|
||||
/// [`Widget`]: trait.Widget.html
|
||||
/// [`Element`]: ../struct.Element.html
|
||||
pub trait Widget<Message, Renderer>: std::fmt::Debug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue