FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridSelectionChangedEventArgsOf

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridSelectionChangedEventArgsOf<M: TreeModel>
    

    The typed arguments of the selection changed event (TreeDataGridSelectionChangedEventArgs<TModel>): the rows with their models of type M, and the cells.

    View source

    Members

    new

    fn new(deselected_indexes: Option<Vec<IndexPath>>, selected_indexes: Option<Vec<IndexPath>>, deselected_items: Option<Vec<Option<Rc<M>>>>, selected_items: Option<Vec<Option<Rc<M>>>>, deselected_cell_indexes: Option<Vec<CellIndex>>, selected_cell_indexes: Option<Vec<CellIndex>>) -> Self
    

    The arguments; a list that is None is empty.

    Source

    deselected_indexes

    fn deselected_indexes(self: &Self) -> &[IndexPath]
    

    Source

    selected_indexes

    fn selected_indexes(self: &Self) -> &[IndexPath]
    

    Source

    deselected_items

    fn deselected_items(self: &Self) -> &[Option<Rc<M>>]
    

    Source

    selected_items

    fn selected_items(self: &Self) -> &[Option<Rc<M>>]
    

    Source

    deselected_cell_indexes

    fn deselected_cell_indexes(self: &Self) -> &[CellIndex]
    

    Source

    selected_cell_indexes

    fn selected_cell_indexes(self: &Self) -> &[CellIndex]
    

    Source

    untyped

    fn untyped(self: &Self) -> TreeDataGridSelectionChangedEventArgs
    

    The untyped arguments.

    Source

    Trait implementations

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

    Availability

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