update

Function update 

Source
fn update<Message: Clone>(
    widget: &mut MouseArea<'_, Message>,
    event: &Event,
    layout: Layout<'_>,
    cursor: Cursor,
    shell: &mut Shell<'_, Message>,
    state: &mut State,
    viewport: &Rectangle,
)
Expand description

Processes the given [Event] and updates the State of an MouseArea accordingly.