Skip to main content

TextEventMethods

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§

Source

fn Data(&self) -> DOMString

Source

fn InitTextEvent( &self, type_: DOMString, bubbles: bool, cancelable: bool, view: Option<&D::Window>, data: DOMString, )

Source

fn IsTrusted(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§