ExpanderCell
struct · ferroui-controls-treedatagrid · v0.5.0
struct ExpanderCell<M: TreeModel>
ExpanderCell<TModel>.
Members
new
fn new(inner: CellRef, row: Rc<dyn IExpanderRow<M>>, show_expander: Rc<ShowExpanderObservable<M>>, is_expanded: Option<Rc<dyn ICellBinding<bool>>>) -> Rc<Self>
The expander cell of row around the inner column's cell inner; show_expander
publishes whether the expander is shown, is_expanded the model's expansion state.
content
fn content(self: &Self) -> &CellRef
The cell of the inner column.
row
fn row(self: &Self) -> &Rc<dyn IExpanderRow<M>>
The row of the cell.
show_expander
fn show_expander(self: &Self) -> bool
Whether the expander is shown.
is_expanded
fn is_expanded(self: &Self) -> bool
Whether the row is expanded.
set_is_expanded
fn set_is_expanded(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherINotifyPropertyChangedICellIExpanderIExpanderCellPresentation
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.