diff options
| author | 2020-11-26 02:52:34 +0100 | |
|---|---|---|
| committer | 2020-11-26 02:52:34 +0100 | |
| commit | 1f7e8b7f3d1804c39c8e0934b25f3ef178de269c (patch) | |
| tree | 380d9224b81537e460ea7f9fe84c0c912d3f4cbf /native/src/renderer.rs | |
| parent | bffaeed9fd44619491c012cd9270043828c1849c (diff) | |
| parent | 01322f69a406eee76014f5e2834336e2295ad80e (diff) | |
| download | iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.gz iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.tar.bz2 iced-1f7e8b7f3d1804c39c8e0934b25f3ef178de269c.zip  | |
Merge pull request #632 from hecrj/improvement/update-docs
Use intra-doc links
Diffstat (limited to 'native/src/renderer.rs')
| -rw-r--r-- | native/src/renderer.rs | 16 | 
1 files changed, 6 insertions, 10 deletions
diff --git a/native/src/renderer.rs b/native/src/renderer.rs index d986141f..39a6cff1 100644 --- a/native/src/renderer.rs +++ b/native/src/renderer.rs @@ -13,12 +13,12 @@  //! In the end, a __renderer__ satisfying all the constraints is  //! needed to build a [`UserInterface`].  //! -//! [`Widget`]: ../widget/trait.Widget.html -//! [`UserInterface`]: ../struct.UserInterface.html -//! [`Text`]: ../widget/text/struct.Text.html -//! [`text::Renderer`]: ../widget/text/trait.Renderer.html -//! [`Checkbox`]: ../widget/checkbox/struct.Checkbox.html -//! [`checkbox::Renderer`]: ../widget/checkbox/trait.Renderer.html +//! [`Widget`]: crate::Widget +//! [`UserInterface`]: crate::UserInterface +//! [`Text`]: crate::widget::Text +//! [`text::Renderer`]: crate::widget::text::Renderer +//! [`Checkbox`]: crate::widget::Checkbox +//! [`checkbox::Renderer`]: crate::widget::checkbox::Renderer  #[cfg(debug_assertions)]  mod null; @@ -34,15 +34,11 @@ pub trait Renderer: Sized {      ///      /// If you are implementing a graphical renderer, your output will most      /// likely be a tree of visual primitives. -    /// -    /// [`Renderer`]: trait.Renderer.html      type Output;      /// The default styling attributes of the [`Renderer`].      ///      /// This type can be leveraged to implement style inheritance. -    /// -    /// [`Renderer`]: trait.Renderer.html      type Defaults: Default;      /// Lays out the elements of a user interface.  | 
