Skip to content

Commit

Permalink
Improve widget prelude docs. (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom authored Mar 25, 2020
1 parent e0a3c02 commit c17983d
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions druid/src/widget/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,33 +90,24 @@ pub use widget_ext::WidgetExt;
/// The types required to implement a `Widget`.
///
/// # Structs
/// [`BoxConstraints`](../../struct.BoxConstraints.html)
///
/// [`Env`](../../struct.Env.html)
///
/// [`EventCtx`](../../struct.EventCtx.html)
///
/// [`LayoutCtx`](../../struct.LayoutCtx.html)
///
/// [`LifeCycleCtx`](../../struct.LifeCycleCtx.html)
///
/// [`PaintCtx`](../../struct.PaintCtx.html)
///
/// [`Size`](../../struct.Size.html)
///
/// [`UpdateCtx`](../../struct.UpdateCtx.html)
///
/// [`WidgetId`](../../struct.WidgetId.html)
/// [`BoxConstraints`](../../struct.BoxConstraints.html)\
/// [`Env`](../../struct.Env.html)\
/// [`EventCtx`](../../struct.EventCtx.html)\
/// [`LayoutCtx`](../../struct.LayoutCtx.html)\
/// [`LifeCycleCtx`](../../struct.LifeCycleCtx.html)\
/// [`PaintCtx`](../../struct.PaintCtx.html)\
/// [`Size`](../../struct.Size.html)\
/// [`UpdateCtx`](../../struct.UpdateCtx.html)\
/// [`WidgetId`](../../struct.WidgetId.html)\
///
/// # Enums
/// [`Event`](../../enum.Event.html)
///
/// [`LifeCycle`](../../enum.LifeCycle.html)
/// [`Event`](../../enum.Event.html)\
/// [`LifeCycle`](../../enum.LifeCycle.html)\
///
/// # Traits
/// [`RenderContext`](../../trait.RenderContext.html)
///
/// [`RenderContext`](../../trait.RenderContext.html)\
/// [`Widget`](../../trait.Widget.html)
// NOTE: \ at the end works as a line break, but skip on last line!
pub mod prelude {
#[doc(hidden)]
pub use crate::{
Expand Down

0 comments on commit c17983d

Please sign in to comment.