summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/widget.rs')
-rw-r--r--wgpu/src/widget.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/wgpu/src/widget.rs b/wgpu/src/widget.rs
index e0f56594..e3edda0b 100644
--- a/wgpu/src/widget.rs
+++ b/wgpu/src/widget.rs
@@ -1,3 +1,12 @@
+//! Use the widgets supported out-of-the-box.
+//!
+//! # Re-exports
+//! For convenience, the contents of this module are available at the root
+//! module. Therefore, you can directly type:
+//!
+//! ```
+//! use iced_wgpu::{button, Button};
+//! ```
pub mod button;
pub mod checkbox;
pub mod container;
@@ -6,3 +15,20 @@ pub mod radio;
pub mod scrollable;
pub mod slider;
pub mod text_input;
+
+#[doc(no_inline)]
+pub use button::Button;
+#[doc(no_inline)]
+pub use checkbox::Checkbox;
+#[doc(no_inline)]
+pub use container::Container;
+#[doc(no_inline)]
+pub use progress_bar::ProgressBar;
+#[doc(no_inline)]
+pub use radio::Radio;
+#[doc(no_inline)]
+pub use scrollable::Scrollable;
+#[doc(no_inline)]
+pub use slider::Slider;
+#[doc(no_inline)]
+pub use text_input::TextInput;