pub fn layout<T, Layout, RequiredSize>(
scroller: &mut T,
size: XY<usize>,
needs_relayout: bool,
layout: Layout,
required_size: RequiredSize
)where
T: Scroller,
Layout: FnMut(&mut T, XY<usize>),
RequiredSize: FnMut(&mut T, XY<usize>) -> XY<usize>,
Expand description
Performs View::layout
on a scroll::Scroller
.