Trait WheelEventMethods

Source
pub(crate) trait WheelEventMethods<D>
where D: DomTypes,
{ // Required methods fn DeltaX(&self) -> Finite<f64>; fn DeltaY(&self) -> Finite<f64>; fn DeltaZ(&self) -> Finite<f64>; fn DeltaMode(&self) -> u32; fn InitWheelEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&<D as DomTypes>::Window>, detailArg: i32, deltaX: Finite<f64>, deltaY: Finite<f64>, deltaZ: Finite<f64>, deltaMode: u32, ); fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, typeArg: DOMString, wheelEventInitDict: &WheelEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::WheelEvent>>, Error>; }

Required Methods§

Source

fn DeltaX(&self) -> Finite<f64>

Source

fn DeltaY(&self) -> Finite<f64>

Source

fn DeltaZ(&self) -> Finite<f64>

Source

fn DeltaMode(&self) -> u32

Source

fn InitWheelEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&<D as DomTypes>::Window>, detailArg: i32, deltaX: Finite<f64>, deltaY: Finite<f64>, deltaZ: Finite<f64>, deltaMode: u32, )

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, typeArg: DOMString, wheelEventInitDict: &WheelEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::WheelEvent>>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§