pub struct Table<Message = ()> { /* private fields */ }Implementations§
Source§impl<Message> Table<Message>
impl<Message> Table<Message>
pub fn rows<I, T>(self, rows: I) -> Self
pub fn row<T>(self, row: T) -> Self
pub fn header<T>(self, row: T) -> Self
pub fn headers<T>(self, row: T) -> Self
pub fn widths<I>(self, widths: I) -> Self
pub fn column_spacing(self, spacing: u16) -> Self
pub fn flex(self, flex: Flex) -> Self
pub fn block(self, block: Block<Message>) -> Self
pub fn selected(self, selected: Option<usize>) -> Self
pub fn offset(self, offset: usize) -> Self
pub fn state(self, state: TableState) -> Self
pub fn highlight_symbol<T>(self, symbol: T) -> Self
pub fn highlight_style<S: Into<Style>>(self, style: S) -> Self
pub fn row_highlight_style<S: Into<Style>>(self, style: S) -> Self
pub fn column_highlight_style<S: Into<Style>>(self, style: S) -> Self
pub fn cell_highlight_style<S: Into<Style>>(self, style: S) -> Self
pub fn highlight_spacing(self, spacing: HighlightSpacing) -> Self
pub fn alignment(self, alignment: TableAlignment) -> Self
pub fn alignments<I>(self, alignments: I) -> Selfwhere
I: IntoIterator<Item = TableAlignment>,
pub fn on_select<NextMessage, F>(self, handler: F) -> Table<NextMessage>
pub fn layout(self, layout: Layout) -> Self
pub fn style<S: Into<Style>>(self, style: S) -> Self
pub fn build(self) -> Element<Message>
Trait Implementations§
Auto Trait Implementations§
impl<Message> Freeze for Table<Message>
impl<Message = ()> !RefUnwindSafe for Table<Message>
impl<Message = ()> !Send for Table<Message>
impl<Message = ()> !Sync for Table<Message>
impl<Message> Unpin for Table<Message>
impl<Message> UnsafeUnpin for Table<Message>
impl<Message = ()> !UnwindSafe for Table<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