Type Definition ambient_ui_native::ButtonCallback
source · pub type ButtonCallback<Ret = ()> = Arc<CbDebuggable<dyn Fn(&mut World) -> Ret + Sync + Send + 'static>>;
Expand description
The type of function invoked by a button.
pub type ButtonCallback<Ret = ()> = Arc<CbDebuggable<dyn Fn(&mut World) -> Ret + Sync + Send + 'static>>;
The type of function invoked by a button.