pub fn list( state: ListState, render_item: impl FnMut(usize, &mut Window, &mut App) -> AnyElement + 'static, ) -> List
Construct a new list element