pub struct TableProps {
pub headers: Vec<TableHeader>,
pub rows: Vec<TableRow>,
pub on_select: Callback<usize>,
pub selected_index: Option<usize>,
}Fields§
§headers: Vec<TableHeader>§rows: Vec<TableRow>§on_select: Callback<usize>§selected_index: Option<usize>Trait Implementations§
Source§impl Clone for TableProps
impl Clone for TableProps
Source§fn clone(&self) -> TableProps
fn clone(&self) -> TableProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for TableProps
impl PartialEq for TableProps
Source§impl Properties for TableProps
impl Properties for TableProps
impl StructuralPartialEq for TableProps
Auto Trait Implementations§
impl Freeze for TableProps
impl !RefUnwindSafe for TableProps
impl !Send for TableProps
impl !Sync for TableProps
impl Unpin for TableProps
impl !UnwindSafe for TableProps
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