[−][src]Struct druid::widget::ProgressBar
A progress bar, displaying a numeric progress value.
This type impls Widget<f64>
, expecting a float in the range 0.0..1.0
.
Implementations
impl ProgressBar
[src]
pub fn new() -> ProgressBar
[src]
Return a new ProgressBar
.
Trait Implementations
impl Clone for ProgressBar
[src]
fn clone(&self) -> ProgressBar
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProgressBar
[src]
impl Default for ProgressBar
[src]
fn default() -> ProgressBar
[src]
impl Widget<f64> for ProgressBar
[src]
fn event(
&mut self,
_ctx: &mut EventCtx,
_event: &Event,
_data: &mut f64,
_env: &Env
)
[src]
&mut self,
_ctx: &mut EventCtx,
_event: &Event,
_data: &mut f64,
_env: &Env
)
fn lifecycle(
&mut self,
_ctx: &mut LifeCycleCtx,
_event: &LifeCycle,
_data: &f64,
_env: &Env
)
[src]
&mut self,
_ctx: &mut LifeCycleCtx,
_event: &LifeCycle,
_data: &f64,
_env: &Env
)
fn update(
&mut self,
ctx: &mut UpdateCtx,
_old_data: &f64,
_data: &f64,
_env: &Env
)
[src]
&mut self,
ctx: &mut UpdateCtx,
_old_data: &f64,
_data: &f64,
_env: &Env
)
fn layout(
&mut self,
_layout_ctx: &mut LayoutCtx,
bc: &BoxConstraints,
_data: &f64,
env: &Env
) -> Size
[src]
&mut self,
_layout_ctx: &mut LayoutCtx,
bc: &BoxConstraints,
_data: &f64,
env: &Env
) -> Size
fn paint(&mut self, ctx: &mut PaintCtx, data: &f64, env: &Env)
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProgressBar
impl Send for ProgressBar
impl Sync for ProgressBar
impl Unpin for ProgressBar
impl UnwindSafe for ProgressBar
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
fn round_into(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,