FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    boxed_parameter

    function · ferroui-reactiveui-controls · v0.5.0

    fn boxed_parameter(parameter: &ferroui_reactiveui::CommandParameter) -> Option<ferroui_base::BoxedValue>
    

    A command parameter of ReactiveUI as the value of a control's CommandParameter: a BoxedValue (or a handle to an object of FerroUI) as it is; a string, a number, a character or a boolean boxed as itself, so that the control's parameter compares as the value; anything else in a ReactiveCommandParameter.

    Deviation (DEVIATIONS.md, ReactiveUI controls): upstream's parameter is the same object on both sides; the port's Rc<dyn Any> does not compare, so it is converted.

    View source

    Availability

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