Type Alias ambient_ui::prelude::Cb
source · pub type Cb<T> = Arc<CbDebuggable<T>>;
Expand description
A helper type for callbacks that wraps around a function type with an Arc
that implements Debug
.
This is used to allow for shared ownership of a function, and to make it easy to embed
a callback in a struct that implements Debug
.
Aliased Type§
struct Cb<T> { /* private fields */ }