[][src]Struct meli::components::utilities::widgets::ProgressSpinner

pub struct ProgressSpinner {
    timer: Timer,
    stage: usize,
    pub kind: Result<usize, Vec<String>>,
    pub width: usize,
    theme_attr: ThemeAttribute,
    active: bool,
    dirty: bool,
    id: ComponentId,
}

Fields

timer: Timerstage: usizekind: Result<usize, Vec<String>>width: usizetheme_attr: ThemeAttributeactive: booldirty: boolid: ComponentId

Implementations

impl ProgressSpinner[src]

pub const KINDS: [&'static [&'static str]; 30][src]

const INTERVAL: Duration[src]

pub fn new(kind: usize, context: &Context) -> Self[src]

pub fn is_active(&self) -> bool[src]

pub fn set_kind(&mut self, kind: usize)[src]

pub fn set_custom_kind(&mut self, custom: Vec<String>)[src]

pub fn start(&mut self)[src]

pub fn stop(&mut self)[src]

Trait Implementations

impl Component for ProgressSpinner[src]

impl Debug for ProgressSpinner[src]

impl Display for ProgressSpinner[src]

impl Drop for ProgressSpinner[src]

Auto Trait Implementations

impl !RefUnwindSafe for ProgressSpinner

impl Send for ProgressSpinner

impl Sync for ProgressSpinner

impl Unpin for ProgressSpinner

impl !UnwindSafe for ProgressSpinner

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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> Instrument for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]