pub trait HasMouseData: PointerInteraction {
    // Required method
    fn as_any(&self) -> &(dyn Any + 'static);
}
Available on crate feature html only.
Expand description

A trait for any object that has the data for a mouse event

Required Methods§

source

fn as_any(&self) -> &(dyn Any + 'static)

return self as Any

Implementors§