dioxus_lib::prelude

Trait HasWheelData

source
pub trait HasWheelData: HasMouseData + Any {
    // Required methods
    fn delta(&self) -> WheelDelta;
    fn as_any(&self) -> &(dyn Any + 'static);
}

Required Methods§

source

fn delta(&self) -> WheelDelta

The amount of wheel movement

source

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

return self as Any

Implementors§