Function column
Source pub fn column<'a, 'b, T, E, Message, Theme, Renderer>(
header: impl Into<Element<'a, Message, Theme, Renderer>>,
view: impl Fn(T) -> E + 'b,
) -> Column<'a, 'b, T, Message, Theme, Renderer>where
T: 'a,
E:
Into<
Element<'a, Message, Theme, Renderer>>,
Expand description
Creates a new Column with the given header and view function.
The view function will be called for each row in a Table and it must
produce the resulting contents of a cell.