pub trait MouseCursor {
// Required method
fn activate_system_cursor(
&self,
view: ViewId,
device: i64,
kind: SystemMouseCursorKind,
);
}Expand description
Flutter’s mouse cursor channel.
Required Methods§
Sourcefn activate_system_cursor(
&self,
view: ViewId,
device: i64,
kind: SystemMouseCursorKind,
)
fn activate_system_cursor( &self, view: ViewId, device: i64, kind: SystemMouseCursorKind, )
Shows a system cursor for a pointing device on view, the one the device is over
(Flutter’s activateSystemCursor message on SystemChannels.mouseCursor, which
carries no view: its embedders map the device to one themselves). A host with one
cursor for the whole process ignores the view.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".