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

pub struct ProgressBar<E> where
    E: Env
{ pub size: ESize<E>, pub style: Vec<StdVerb>, pub border: Option<Border>, pub value: f32, pub orientation: Orientation, // some fields omitted }

Fields

size: ESize<E>style: Vec<StdVerb>border: Option<Border>value: f32orientation: Orientation

Methods

impl<E> ProgressBar<E> where
    E: Env
[src]

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

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

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

Trait Implementations

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

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

Auto Trait Implementations

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

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

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

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

impl<E> UnwindSafe for ProgressBar<E> where
    <<E as Env>::Backend as Backend<E>>::Size: UnwindSafe,
    <E as Env>::WidgetID: UnwindSafe

Blanket Implementations

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

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

impl<'w, E, T> AsWidgetMut<'w, E> for T where
    E: Env,
    T: WidgetMut<'w, 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> Into<U> for T where
    U: From<T>, 
[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.