summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 02:39:12 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 02:39:12 +0200
commit2118a726f8b6134820e1ca5b7b802fa1344e453a (patch)
tree2854867970da7f91510b864e3498f6efb7c40ac5 /native/src/widget.rs
parentdc0e423142f053c59c326d92920e7829b6852cca (diff)
downloadiced-2118a726f8b6134820e1ca5b7b802fa1344e453a.tar.gz
iced-2118a726f8b6134820e1ca5b7b802fa1344e453a.tar.bz2
iced-2118a726f8b6134820e1ca5b7b802fa1344e453a.zip
Write documentation for the new `overlay` API
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index a7f279ed..931b4739 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -179,6 +179,9 @@ where
) {
}
+ /// Returns the overlay of the [`Element`], if there is any.
+ ///
+ /// [`Element`]: struct.Element.html
fn overlay(
&mut self,
_layout: Layout<'_>,