FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.