FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    factory_from_template

    function · ferroui-controls-repeater · v0.5.0

    fn factory_from_template(item: Option<&ferroui_base::BoxedValue>) -> Result<Option<std::rc::Rc<dyn IElementFactory>>, super::element_factory::ElementFactoryError>
    

    Converts the untyped ItemTemplate property to its native factory contract. None is left for the repeater's data-as-element/default-template path.

    View source

    Availability

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