ObjectHierarchicalExpanderColumn
struct · ferroui-controls-treedatagrid · v0.5.0
struct ObjectHierarchicalExpanderColumn
ObjectHierarchicalExpanderColumn.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.