FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObjectHierarchicalExpanderColumn

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct ObjectHierarchicalExpanderColumn
    

    ObjectHierarchicalExpanderColumn.

    View source

    Members

    new

    fn new(inner: Rc<dyn IViewColumn<BoxedValue>>, child_selector: impl Fn(&BoxedValue) -> Option<Models<BoxedValue>> + 'static, has_children_selector: Option<Rc<dyn Fn(&BoxedValue) -> bool>>, is_expanded_getter: Option<Rc<dyn Fn(&BoxedValue) -> bool>>, is_expanded_setter: Option<Rc<dyn Fn(&BoxedValue, bool) -> ()>>, has_children_links: Option<Vec<ObjectLink>>, is_expanded_links: Option<Vec<ObjectLink>>) -> Rc<HierarchicalExpanderColumn<BoxedValue>>
    

    An expander column of inner over untyped models. child_selector gives the children of a model; has_children_selector whether it has children, re-read when one of has_children_links changes; is_expanded_getter and is_expanded_setter the model's expansion state, re-read when one of is_expanded_links changes. Without links the model itself is observed.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

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