pub trait TouchEventMethods<D>where
D: DomTypes,{
// Required methods
fn Touches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>;
fn TargetTouches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>;
fn ChangedTouches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>;
fn AltKey(&self) -> bool;
fn MetaKey(&self) -> bool;
fn CtrlKey(&self) -> bool;
fn ShiftKey(&self) -> bool;
fn IsTrusted(&self) -> bool;
}Required Methods§
fn Touches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>
fn TargetTouches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>
fn ChangedTouches(&self) -> Root<Dom<<D as DomTypes>::TouchList>>
fn AltKey(&self) -> bool
fn MetaKey(&self) -> bool
fn CtrlKey(&self) -> bool
fn ShiftKey(&self) -> bool
fn IsTrusted(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".