[][src]Enum download_progress::Example

enum Example {
    Idle {
        button: State,
    },
    Downloading {
        progress: f32,
    },
    Finished {
        button: State,
    },
    Errored {
        button: State,
    },
}

Variants

Idle

Fields of Idle

button: State
Downloading

Fields of Downloading

progress: f32
Finished

Fields of Finished

button: State
Errored

Fields of Errored

button: State

Trait Implementations

impl Application for Example[src]

type Executor = Default

The [Executor] that will run commands and subscriptions. Read more

type Message = Message

The type of messages your [Application] will produce. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

impl Debug for Example[src]

Auto Trait Implementations

impl RefUnwindSafe for Example

impl Send for Example

impl Sync for Example

impl Unpin for Example

impl UnwindSafe for Example

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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

impl<T> Application for T where
    T: Sandbox
[src]

type Executor = Null

The [Executor] that will run commands and subscriptions. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

type Message = <T as Sandbox>::Message

The type of messages your [Application] will produce. Read more

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

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

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[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.

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