From 2118a726f8b6134820e1ca5b7b802fa1344e453a Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 10 Jul 2020 02:39:12 +0200 Subject: Write documentation for the new `overlay` API --- native/src/widget.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'native/src/widget.rs') 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<'_>, -- cgit