Function cursive_core::view::scroll::important_area
source · pub fn important_area<T, ImportantArea>(
scroller: &T,
size: Vec2,
important_area: ImportantArea
) -> Rectwhere
T: Scroller,
ImportantArea: FnMut(&T, Vec2) -> Rect,
Expand description
Performs View::important_area
on a scroll::Scroller
.