pub(crate) trait CommentMethods<D: DomTypes> {
    // Required method
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        data: DOMString,
    ) -> Fallible<DomRoot<D::Comment>>;
}

Required Methods§

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, data: DOMString, ) -> Fallible<DomRoot<D::Comment>>

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§