FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PathFunctionInvoke

    type alias · ferroui-base · v0.5.0

    type PathFunctionInvoke = std::rc::Rc<dyn Fn(&crate::BoxedValue, &[Option<crate::BoxedValue>]) -> Result<Option<crate::BoxedValue>, crate::data::BindingError>>
    

    Calls the function of a function element: the owner (the value the path before the element produced; for a static function, the root source, which it ignores) and the values of the arguments. Err is the failure of the call (an argument that is not of the type the function declares, or the function failing).

    View source

    Availability

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