135135//! the console to be shown, use `#![windows_subsystem = "windows"]` at the beginning of your
136136//! crate.
137137//!
138- //! [`Widget`]: trait.Widget.html
139- //! [`Data`]: trait.Data.html
140- //! [`Lens`]: trait.Lens.html
141- //! [`widget`]: ./widget/index.html
142- //! [`Event`]: enum.Event.html
143138//! [`druid-shell`]: druid_shell
144- //! [`piet`]: piet
145139//! [`druid/examples`]: https://github.com/linebender/druid/tree/v0.8.2/druid/examples
146140//! [Druid book]: https://linebender.org/druid/
147141//! [`im` crate]: https://crates.io/crates/im
@@ -231,13 +225,15 @@ pub use app_delegate::{AppDelegate, DelegateCtx};
231225pub use box_constraints:: BoxConstraints ;
232226pub use command:: { sys as commands, Command , Notification , Selector , SingleUse , Target } ;
233227pub use contexts:: { EventCtx , LayoutCtx , LifeCycleCtx , PaintCtx , UpdateCtx } ;
234- pub use data:: Data ;
228+ pub use data:: * ; // Wildcard because rustdoc has trouble inlining docs of two things called Data
235229pub use dialog:: FileDialogOptions ;
230+ #[ doc( inline) ]
236231pub use env:: { Env , Key , KeyOrValue , Value , ValueType , ValueTypeError } ;
237232pub use event:: { Event , InternalEvent , InternalLifeCycle , LifeCycle , ViewContext } ;
238233pub use ext_event:: { ExtEventError , ExtEventSink } ;
239234pub use lens:: { Lens , LensExt } ;
240235pub use localization:: LocalizedString ;
236+ #[ doc( inline) ]
241237pub use menu:: { sys as platform_menus, Menu , MenuItem } ;
242238pub use mouse:: MouseEvent ;
243239pub use util:: Handled ;
@@ -248,8 +244,10 @@ pub use window::{Window, WindowId};
248244#[ cfg( not( target_arch = "wasm32" ) ) ]
249245pub ( crate ) use event:: { DebugStateCell , StateCell , StateCheckFn } ;
250246
247+ #[ doc( hidden) ]
251248#[ deprecated( since = "0.8.0" , note = "import from druid::text module instead" ) ]
252249pub use piet:: { FontFamily , FontStyle , FontWeight , TextAlignment } ;
250+ #[ doc( hidden) ]
253251#[ deprecated( since = "0.8.0" , note = "import from druid::text module instead" ) ]
254252pub use text:: { ArcStr , FontDescriptor , TextLayout } ;
255253
@@ -261,9 +259,11 @@ pub use text::{ArcStr, FontDescriptor, TextLayout};
261259/// alias is provided to make that transition easy, but in any case make
262260/// an explicit choice whether to use meaning or physical location and
263261/// use the appropriate type.
262+ #[ doc( hidden) ]
264263#[ deprecated( since = "0.7.0" , note = "Use KbKey instead" ) ]
265264pub type KeyCode = KbKey ;
266265
266+ #[ doc( hidden) ]
267267#[ deprecated( since = "0.7.0" , note = "Use Modifiers instead" ) ]
268268/// See [`Modifiers`](struct.Modifiers.html).
269269pub type KeyModifiers = Modifiers ;
0 commit comments