Struct leptos_struct_table::ChangeEvent
source · pub struct ChangeEvent<Row: Clone> {
pub row_index: usize,
pub col_index: usize,
pub changed_row: Row,
}
Expand description
The event provided to the on_change
prop of the table component
Fields§
§row_index: usize
The index of the table row that contains the cell that was changed. Starts at 0.
col_index: usize
The index of the table column that contains the cell that was changed. Starts at 0.
changed_row: Row
The the row that was changed.
Trait Implementations§
Auto Trait Implementations§
impl<Row> RefUnwindSafe for ChangeEvent<Row>where
Row: RefUnwindSafe,
impl<Row> Send for ChangeEvent<Row>where
Row: Send,
impl<Row> Sync for ChangeEvent<Row>where
Row: Sync,
impl<Row> Unpin for ChangeEvent<Row>where
Row: Unpin,
impl<Row> UnwindSafe for ChangeEvent<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