Function cosmic::iced::widget::scrollable::mouse_interaction

source ยท
pub fn mouse_interaction(
    state: &State,
    layout: Layout<'_>,
    cursor: Cursor,
    direction: Direction,
    content_interaction: impl FnOnce(Layout<'_>, Cursor, &Rectangle) -> Interaction,
) -> Interaction
Expand description

Computes the current mouse::Interaction of a Scrollable.