iced-yoda/wgpu/src/widget/progress_bar.rs

16 lines
502 B
Rust
Raw Normal View History

//! Allow your users to visually track the progress of a computation.
2020-01-07 01:53:26 +01:00
//!
//! A [`ProgressBar`] has a range of possible values and a current value,
//! as well as a length, height and style.
2020-01-07 01:53:26 +01:00
//!
//! [`ProgressBar`]: type.ProgressBar.html
2020-01-07 01:53:26 +01:00
use crate::Renderer;
pub use iced_style::progress_bar::{Style, StyleSheet};
/// A bar that displays progress.
///
/// This is an alias of an `iced_native` progress bar with an
/// `iced_wgpu::Renderer`.
pub type ProgressBar = iced_native::ProgressBar<Renderer>;