pub trait HasMouseData: PointerInteraction {
// Required method
fn as_any(&self) -> &dyn Any;
}Expand description
A trait for any object that has the data for a mouse event
pub trait HasMouseData: PointerInteraction {
// Required method
fn as_any(&self) -> &dyn Any;
}A trait for any object that has the data for a mouse event