diff options
author | 2020-01-09 18:31:07 +0100 | |
---|---|---|
committer | 2020-01-09 18:31:07 +0100 | |
commit | 7b278755fc7929633b5771824beac4d39b16e82e (patch) | |
tree | fe3a8a6b0ae82f7fd1fa0c0de34b4b09d0b9edda /native/src/widget/container.rs | |
parent | 775500cf1f5a14afacdc0bb6875136a4fd3369a4 (diff) | |
download | iced-7b278755fc7929633b5771824beac4d39b16e82e.tar.gz iced-7b278755fc7929633b5771824beac4d39b16e82e.tar.bz2 iced-7b278755fc7929633b5771824beac4d39b16e82e.zip |
Write missing docs and reenable deny statements
Diffstat (limited to 'native/src/widget/container.rs')
-rw-r--r-- | native/src/widget/container.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/native/src/widget/container.rs b/native/src/widget/container.rs index abe83264..5682fc87 100644 --- a/native/src/widget/container.rs +++ b/native/src/widget/container.rs @@ -183,7 +183,15 @@ where } } +/// The renderer of a [`Container`]. +/// +/// Your [renderer] will need to implement this trait before being +/// able to use a [`Container`] in your user interface. +/// +/// [`Container`]: struct.Container.html +/// [renderer]: ../../renderer/index.html pub trait Renderer: crate::Renderer { + /// The style supported by this renderer. type Style: Default; /// Draws a [`Container`]. |