diff options
author | 2020-07-10 02:39:12 +0200 | |
---|---|---|
committer | 2020-07-10 02:39:12 +0200 | |
commit | 2118a726f8b6134820e1ca5b7b802fa1344e453a (patch) | |
tree | 2854867970da7f91510b864e3498f6efb7c40ac5 /native/src/renderer.rs | |
parent | dc0e423142f053c59c326d92920e7829b6852cca (diff) | |
download | iced-2118a726f8b6134820e1ca5b7b802fa1344e453a.tar.gz iced-2118a726f8b6134820e1ca5b7b802fa1344e453a.tar.bz2 iced-2118a726f8b6134820e1ca5b7b802fa1344e453a.zip |
Write documentation for the new `overlay` API
Diffstat (limited to 'native/src/renderer.rs')
-rw-r--r-- | native/src/renderer.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/renderer.rs b/native/src/renderer.rs index 29a091a4..d986141f 100644 --- a/native/src/renderer.rs +++ b/native/src/renderer.rs @@ -57,6 +57,8 @@ pub trait Renderer: Sized { element.layout(self, limits) } + /// Overlays the `overlay` output with the given bounds on top of the `base` + /// output. fn overlay( &mut self, base: Self::Output, |