pub trait FocusEventMethods<D>where
    D: DomTypes,{
    // Required methods
    fn GetRelatedTarget(
        &self,
    ) -> Option<Root<Dom<<D as DomTypes>::EventTarget>>>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &<D as DomTypes>::Window,
        proto: Option<Handle<'_, *mut JSObject>>,
        can_gc: CanGc,
        typeArg: DOMString,
        focusEventInitDict: &FocusEventInit<D>,
    ) -> Result<Root<Dom<<D as DomTypes>::FocusEvent>>, Error>;
}Required Methods§
fn GetRelatedTarget(&self) -> Option<Root<Dom<<D as DomTypes>::EventTarget>>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, typeArg: DOMString, focusEventInitDict: &FocusEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::FocusEvent>>, Error>
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.