pub trait PointerEventMethods<D>
where 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<<D as DomTypes>::PointerEvent>>>; fn GetPredictedEvents( &self, ) -> Vec<Root<Dom<<D as DomTypes>::PointerEvent>>>; fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit<D>, ) -> Root<Dom<<D as DomTypes>::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<<D as DomTypes>::PointerEvent>>>

Source

fn GetPredictedEvents(&self) -> Vec<Root<Dom<<D as DomTypes>::PointerEvent>>>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &PointerEventInit<D>, ) -> Root<Dom<<D as DomTypes>::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§