register_command_source
function · ferroui-controls · v0.5.0
fn register_command_source<T: ObjectType>(adapter: fn(ferroui_base::Ref<T>) -> std::rc::Rc<dyn ICommandSource>)
Declares that class T (and the classes derived from it) implements
ICommandSource through the handle created by adapter.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.