Skip to main content

take_pointer_icon_change

Function take_pointer_icon_change 

Source
pub fn take_pointer_icon_change() -> Option<PointerIcon>
Expand description

Takes the pointer icon change the platform has not applied yet, leaving nothing behind.

Returns None when the icon has not changed since the last call, which is the common case: a platform backend calls this after every batch of input and touches its window only when something comes back.