Trait script::dom::bindings::codegen::Bindings::InputEventBinding::InputEvent_Binding::InputEventMethods
source · pub trait InputEventMethods {
// Required methods
fn GetData(&self) -> Option<DOMString>;
fn IsComposing(&self) -> bool;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &InputEventInit,
) -> Result<Root<Dom<InputEvent>>, Error>;
}
Required Methods§
fn GetData(&self) -> Option<DOMString>
fn IsComposing(&self) -> bool
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &InputEventInit, ) -> Result<Root<Dom<InputEvent>>, Error>
Object Safety§
This trait is not object safe.