diff options
author | 2019-11-24 10:18:26 +0100 | |
---|---|---|
committer | 2019-11-24 10:18:26 +0100 | |
commit | 7a8a79cd37eba3ac0f1e059b6efe34cc96b2602b (patch) | |
tree | 277381963f0b26e78738b49bccbf0c8b366c88b0 /native/src/widget.rs | |
parent | f92f5c3eca37e325ae60b9366b0a19ab05f5a073 (diff) | |
download | iced-7a8a79cd37eba3ac0f1e059b6efe34cc96b2602b.tar.gz iced-7a8a79cd37eba3ac0f1e059b6efe34cc96b2602b.tar.bz2 iced-7a8a79cd37eba3ac0f1e059b6efe34cc96b2602b.zip |
Fix links in `iced_native::Widget`
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r-- | native/src/widget.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs index 48605ee3..71dcdc0d 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -83,9 +83,9 @@ where /// This [`Node`] is used by the runtime to compute the [`Layout`] of the /// user interface. /// - /// [`Node`]: ../struct.Node.html + /// [`Node`]: ../layout/struct.Node.html /// [`Widget`]: trait.Widget.html - /// [`Layout`]: ../struct.Layout.html + /// [`Layout`]: ../layout/struct.Layout.html fn layout( &self, renderer: &Renderer, @@ -113,7 +113,7 @@ where /// its value cannot affect the overall [`Layout`] of the user interface. /// /// [`Widget`]: trait.Widget.html - /// [`Layout`]: ../struct.Layout.html + /// [`Layout`]: ../layout/struct.Layout.html /// [`Text`]: text/struct.Text.html fn hash_layout(&self, state: &mut Hasher); @@ -125,12 +125,13 @@ where /// * the current cursor position /// * a mutable `Message` list, allowing the [`Widget`] to produce /// new messages based on user interaction. + /// * the `Renderer` /// /// By default, it does nothing. /// /// [`Event`]: ../enum.Event.html /// [`Widget`]: trait.Widget.html - /// [`Layout`]: ../struct.Layout.html + /// [`Layout`]: ../layout/struct.Layout.html fn on_event( &mut self, _event: Event, |