Struct guion::widgets::pbar::ProgressBar[][src]

pub struct ProgressBar<'w, E> where
    E: Env
{ pub size: ESize<E>, pub style: EStyle<E>, pub value: f32, pub orientation: Orientation, // some fields omitted }

Fields

size: ESize<E>style: EStyle<E>value: f32orientation: Orientation

Implementations

impl<'w, E> ProgressBar<'w, E> where
    E: Env
[src]

pub fn new(id: E::WidgetID, o: Orientation) -> Self[src]

impl<'w, E> ProgressBar<'w, E> where
    E: Env
[src]

pub fn with_value(self, v: f32) -> Self[src]

pub fn with_size(self, s: ESize<E>) -> Self[src]

pub fn with_style(self, style: EStyle<E>) -> Self[src]

Trait Implementations

impl<'w, E> Widget<E> for ProgressBar<'w, E> where
    E: Env,
    ERenderer<E>: RenderStdWidgets<E>, 
[src]

impl<'w, E> WidgetMut<E> for ProgressBar<'w, E> where
    E: Env,
    ERenderer<E>: RenderStdWidgets<E>, 
[src]

Auto Trait Implementations

impl<'w, E> RefUnwindSafe for ProgressBar<'w, E> where
    <<E as Env>::Backend as Backend<E>>::Size: RefUnwindSafe,
    <<E as Env>::Backend as Backend<E>>::Style: RefUnwindSafe,
    <E as Env>::WidgetID: RefUnwindSafe

impl<'w, E> Send for ProgressBar<'w, E> where
    <<E as Env>::Backend as Backend<E>>::Size: Send,
    <<E as Env>::Backend as Backend<E>>::Style: Send,
    <E as Env>::WidgetID: Send

impl<'w, E> Sync for ProgressBar<'w, E> where
    <<E as Env>::Backend as Backend<E>>::Size: Sync,
    <<E as Env>::Backend as Backend<E>>::Style: Sync,
    <E as Env>::WidgetID: Sync

impl<'w, E> Unpin for ProgressBar<'w, E> where
    <<E as Env>::Backend as Backend<E>>::Size: Unpin,
    <<E as Env>::Backend as Backend<E>>::Style: Unpin,
    <E as Env>::WidgetID: Unpin

impl<'w, E> !UnwindSafe for ProgressBar<'w, E>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<E, T> AsWidget<E> for T where
    E: Env,
    T: Widget<E>, 
[src]

impl<E, T> AsWidgetMut<E> for T where
    E: Env,
    T: WidgetMut<E>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.