pub 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<Root<Dom<PointerEvent>>>; fn GetPredictedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>; fn IsTrusted(&self) -> bool; fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit, ) -> Root<Dom<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<Root<Dom<PointerEvent>>>

source

fn GetPredictedEvents(&self) -> Vec<Root<Dom<PointerEvent>>>

source

fn IsTrusted(&self) -> bool

source

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

Object Safety§

This trait is not object safe.

Implementors§