dioxus_lib::events

Trait HasDragData

source
pub trait HasDragData: HasMouseData + HasFileData {
    // Required method
    fn as_any(&self) -> &(dyn Any + 'static);
}
Expand description

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

Required Methods§

source

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

return self as Any

Implementors§