[][src]Function cursive::view::scroll::important_area

pub fn important_area<T, ImportantArea>(
    scroller: &T,
    size: Vec2,
    important_area: ImportantArea
) -> Rect where
    T: Scroller,
    ImportantArea: FnMut(&T, Vec2) -> Rect

Performs View::important_area on a scroll::Scroller.