pub trait HasMouseData: PointerInteraction {
    // Required method
    fn as_any(&self) -> &(dyn Any + 'static);
}
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

Implementations on Foreign Types§

source§

impl HasMouseData for MouseEvent

source§

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

Implementors§