pub trait TextEventMethods<D: DomTypes> {
// Required methods
fn Data(&self) -> DOMString;
fn InitTextEvent(
&self,
type_: DOMString,
bubbles: bool,
cancelable: bool,
view: Option<&D::Window>,
data: DOMString,
);
fn IsTrusted(&self) -> bool;
}Required Methods§
fn Data(&self) -> DOMString
fn InitTextEvent( &self, type_: DOMString, bubbles: bool, cancelable: bool, view: Option<&D::Window>, data: DOMString, )
fn IsTrusted(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".