Module ambient_ui::prelude

source ·
Expand description

A prelude for users of the crate. Imports all the most commonly used types and functions.

Re-exports

Macros

  • Shorthand for let x = x.to_owned();

Structs

Traits

Functions

  • Helper for constructing a Cb.

Type Aliases

  • A helper type for callbacks that wraps around a function type with an Arc that implements Debug.

Attribute Macros

  • Helper macro to implement a ElementComponent with a pure free function.