Skip to main content

RegisterComponentFnType

Type Alias RegisterComponentFnType 

Source
pub type RegisterComponentFnType = extern "C" fn() -> ComponentDef;
Expand description

Raw function pointer type that returns a single ComponentDef when called. Used as the cb field in RegisterComponentFn.