pub struct TableProps<Message> {Show 15 fields
pub block: Option<BlockFrame>,
pub header: Option<Row>,
pub footer: Option<Row>,
pub rows: Vec<Row>,
pub widths: Vec<Constraint>,
pub column_spacing: u16,
pub flex: Flex,
pub alignments: Vec<TableAlignment>,
pub state: TableState,
pub highlight_symbol: Option<Text>,
pub row_highlight_style: Style,
pub column_highlight_style: Style,
pub cell_highlight_style: Style,
pub highlight_spacing: HighlightSpacing,
pub on_select: Option<SelectHandler<Message>>,
}Fields§
§block: Option<BlockFrame>§header: Option<Row>§rows: Vec<Row>§widths: Vec<Constraint>§column_spacing: u16§flex: Flex§alignments: Vec<TableAlignment>§state: TableState§highlight_symbol: Option<Text>§row_highlight_style: Style§column_highlight_style: Style§cell_highlight_style: Style§highlight_spacing: HighlightSpacing§on_select: Option<SelectHandler<Message>>Trait Implementations§
Auto Trait Implementations§
impl<Message> Freeze for TableProps<Message>
impl<Message> !RefUnwindSafe for TableProps<Message>
impl<Message> !Send for TableProps<Message>
impl<Message> !Sync for TableProps<Message>
impl<Message> Unpin for TableProps<Message>
impl<Message> UnsafeUnpin for TableProps<Message>
impl<Message> !UnwindSafe for TableProps<Message>
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