pub(crate) trait FocusEventMethods<D: DomTypes> {
    // Required methods
    fn GetRelatedTarget(&self) -> Option<DomRoot<D::EventTarget>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        typeArg: DOMString,
        focusEventInitDict: &FocusEventInit<D>,
    ) -> Fallible<DomRoot<D::FocusEvent>>;
}

Required Methods§

Source

fn GetRelatedTarget(&self) -> Option<DomRoot<D::EventTarget>>

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, typeArg: DOMString, focusEventInitDict: &FocusEventInit<D>, ) -> Fallible<DomRoot<D::FocusEvent>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§