Remove redundant widget modules in subcrates

Instead, we can define the type aliases just once in the root crate!
This commit is contained in:
Héctor Ramón Jiménez 2022-03-09 14:10:15 +07:00
parent 7d9ab71790
commit 12c1a3f829
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
62 changed files with 225 additions and 780 deletions

View file

@ -15,6 +15,13 @@ use std::{f32, u32};
pub use iced_style::scrollable::StyleSheet;
pub mod style {
//! The styles of a [`Scrollable`].
//!
//! [`Scrollable`]: crate::widget::Scrollable
pub use iced_style::scrollable::{Scrollbar, Scroller};
}
/// A widget that can vertically display an infinite amount of content with a
/// scrollbar.
#[allow(missing_debug_implementations)]

View file

@ -1,5 +1,4 @@
//! Show toggle controls using togglers.
use crate::alignment;
use crate::event;
use crate::layout;
@ -14,7 +13,7 @@ use crate::{
pub use iced_style::toggler::{Style, StyleSheet};
/// A toggler widget
/// A toggler widget.
///
/// # Example
///