summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-24 15:15:34 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-24 15:15:34 +0200
commit5e28f80af8349be2638eb80d2a06c81fd14d631c (patch)
tree946817e16775e4ea0a062b4d22f5efd46c655a21 /core
parentc08171e89e9336f87a7eb27881897cfa34529125 (diff)
downloadiced-5e28f80af8349be2638eb80d2a06c81fd14d631c.tar.gz
iced-5e28f80af8349be2638eb80d2a06c81fd14d631c.tar.bz2
iced-5e28f80af8349be2638eb80d2a06c81fd14d631c.zip
Improve documentation
Diffstat (limited to 'core')
-rw-r--r--core/src/length.rs1
-rw-r--r--core/src/widget.rs16
2 files changed, 12 insertions, 5 deletions
diff --git a/core/src/length.rs b/core/src/length.rs
index 3547b246..0e670038 100644
--- a/core/src/length.rs
+++ b/core/src/length.rs
@@ -1,3 +1,4 @@
+/// The strategy used to fill space in a specific dimension.
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
pub enum Length {
Fill,
diff --git a/core/src/widget.rs b/core/src/widget.rs
index 4700be0e..f9d4bf2a 100644
--- a/core/src/widget.rs
+++ b/core/src/widget.rs
@@ -7,21 +7,27 @@
//! ```
//! use iced_core::{button, Button};
//! ```
+mod checkbox;
mod column;
+mod image;
+mod radio;
mod row;
pub mod button;
-pub mod checkbox;
-pub mod image;
-pub mod radio;
pub mod slider;
pub mod text;
+#[doc(no_inline)]
pub use button::Button;
+
+#[doc(no_inline)]
+pub use slider::Slider;
+
+#[doc(no_inline)]
+pub use text::Text;
+
pub use checkbox::Checkbox;
pub use column::Column;
pub use image::Image;
pub use radio::Radio;
pub use row::Row;
-pub use slider::Slider;
-pub use text::Text;