pub(crate) trait PointerEventMethods<D: DomTypes> {
Show 16 methods // Required methods fn PointerId(&self) -> i32; fn Width(&self) -> i32; fn Height(&self) -> i32; fn Pressure(&self) -> Finite<f32>; fn TangentialPressure(&self) -> Finite<f32>; fn TiltX(&self) -> i32; fn TiltY(&self) -> i32; fn Twist(&self) -> i32; fn AltitudeAngle(&self) -> Finite<f64>; fn AzimuthAngle(&self) -> Finite<f64>; fn PointerType(&self) -> DOMString; fn IsPrimary(&self) -> bool; fn GetCoalescedEvents(&self) -> Vec<DomRoot<D::PointerEvent>>; fn GetPredictedEvents(&self) -> Vec<DomRoot<D::PointerEvent>>; fn IsTrusted(&self) -> bool; fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit<D>, ) -> DomRoot<D::PointerEvent>;
}

Required Methods§

Source

fn PointerId(&self) -> i32

Source

fn Width(&self) -> i32

Source

fn Height(&self) -> i32

Source

fn Pressure(&self) -> Finite<f32>

Source

fn TangentialPressure(&self) -> Finite<f32>

Source

fn TiltX(&self) -> i32

Source

fn TiltY(&self) -> i32

Source

fn Twist(&self) -> i32

Source

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

Source

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

Source

fn PointerType(&self) -> DOMString

Source

fn IsPrimary(&self) -> bool

Source

fn GetCoalescedEvents(&self) -> Vec<DomRoot<D::PointerEvent>>

Source

fn GetPredictedEvents(&self) -> Vec<DomRoot<D::PointerEvent>>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit<D>, ) -> DomRoot<D::PointerEvent>

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§