FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ItemTemplateWrapper

    struct · ferroui-controls-repeater · v0.5.0

    struct ItemTemplateWrapper
    

    Adapts FerroUI data templates and recycling templates to the element-factory contract while retaining template-specific pools across repeaters.

    View source

    Members

    new

    fn new(template: Rc<dyn IDataTemplate>) -> Rc<Self>
    

    Source

    with_selector

    fn with_selector(selector: Rc<dyn IDataTemplateSelector>) -> Rc<Self>
    

    Source

    template

    fn template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
    

    Source

    set_template

    fn set_template(self: &Self, template: Option<Rc<dyn IDataTemplate>>)
    

    Source

    template_selector

    fn template_selector(self: &Self) -> Option<Rc<dyn IDataTemplateSelector>>
    

    Source

    set_template_selector

    fn set_template_selector(self: &Self, selector: Option<Rc<dyn IDataTemplateSelector>>)
    

    Source

    Trait implementations

    Availability

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