Struct leptos_struct_table::TableHeadEvent
source · pub struct TableHeadEvent<C: 'static> {
pub index: usize,
pub column: C,
pub mouse_event: MouseEvent,
}
Expand description
Event emitted when a table head cell is clicked.
Fields§
§index: usize
The index of the column. Starts at 0 for the first column. The order of the columns is the same as the order of the fields in the struct.
column: C
The column enum variant. It is auto generated from the struct.
mouse_event: MouseEvent
The mouse event that triggered the event.
Trait Implementations§
Auto Trait Implementations§
impl<C> RefUnwindSafe for TableHeadEvent<C>where
C: RefUnwindSafe,
impl<C> !Send for TableHeadEvent<C>
impl<C> !Sync for TableHeadEvent<C>
impl<C> Unpin for TableHeadEvent<C>where
C: Unpin,
impl<C> UnwindSafe for TableHeadEvent<C>where
C: 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