pub struct SelectionChangeEvent<Row: Clone> {
pub selected: bool,
pub row_index: usize,
pub row: Row,
}
Expand description
The event provided to the on_selection_change
prop of the table component
Fields§
§selected: bool
true
is the row was selected, false
if it was de-selected.
row_index: usize
The index of the row that was de-/selected.
row: Row
The row that was de-/selected.
Trait Implementations§
Auto Trait Implementations§
impl<Row> RefUnwindSafe for SelectionChangeEvent<Row>where
Row: RefUnwindSafe,
impl<Row> Send for SelectionChangeEvent<Row>where
Row: Send,
impl<Row> Sync for SelectionChangeEvent<Row>where
Row: Sync,
impl<Row> Unpin for SelectionChangeEvent<Row>where
Row: Unpin,
impl<Row> UnwindSafe for SelectionChangeEvent<Row>where
Row: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more