pub trait TouchEventMethods<D: DomTypes> {
// Required methods
fn Touches(&self) -> DomRoot<D::TouchList>;
fn TargetTouches(&self) -> DomRoot<D::TouchList>;
fn ChangedTouches(&self) -> DomRoot<D::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) -> DomRoot<D::TouchList>
fn TargetTouches(&self) -> DomRoot<D::TouchList>
fn ChangedTouches(&self) -> DomRoot<D::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".