Function cosmic::widget::button::mouse_interaction

source ยท
pub fn mouse_interaction(
    layout: Layout<'_>,
    cursor: Cursor,
    is_enabled: bool,
) -> Interaction
Expand description

Returns the mouse::Interaction of a Button.