[][src]Module smithy::types

A module that re-exports useful Smithy types, and some others.

Structs

CollapsedHtmlToken

A struct representing an element node in the DOM.

HtmlToken

A struct representing an HTML element.

SmithyComponent

The results of calling the smd! macro is a vector of SmithyComponents.

UnwrappedPromise

A wrapper around a future that can easily be rendered with a match statement.

Enums

CollapsedNode

An enum representing the types of nodes that can be present in the DOM.

Node

An enum representing the different types of nodes, plus a special wrapper Node::Vec.

Phase

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

PhaseResult

An enum representing the results of a SmithyComponent handling a Phase.

PromiseState

An enum representing the three states of a Javascript promise.

UiEvent

An enum of events that a DOM element can potentially handle.

WindowEvent

An enum representing global events that can occur and that a smithy app can potentially handle.

Traits

AsInnerHtml
Component

The main trait of Smithy.

Type Definitions

Attributes
DomRef
DomRefWithPath
EventHandled
Path