Improve documentation

This commit is contained in:
Héctor Ramón Jiménez 2019-09-24 15:15:34 +02:00
parent c08171e89e
commit 5e28f80af8
4 changed files with 22 additions and 9 deletions

View file

@ -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,

View file

@ -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;