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