[][src]Enum smithy_types::Phase

pub enum Phase<'a> {
    Rendering,
    PostRendering,
    UiEventHandling((&'a UiEvent, &'a Path)),
    WindowEventHandling(&'a WindowEvent),
    RefAssignment(Vec<usize>),
}

An enum representing the different phases that a Smithy app can go through.

A call to smd! is a SmithyComponent, which is a wrapper around a Box<FnMut(Phase) -> PhaseResult>. The content of this function is a match statement over the Phase parameter.

Variants

Auto Trait Implementations

impl<'a> !Send for Phase<'a>

impl<'a> !Sync for Phase<'a>

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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