dioxus_lib::events

Trait HasMouseData

source
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

Implementors§