pub trait HTMLAudioElementMethods<D: DomTypes> {
    // Required method
    fn Audio(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        src: Option<DOMString>,
    ) -> Result<Root<Dom<HTMLAudioElement>>, Error>;
}

Required Methods§

source

fn Audio( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, src: Option<DOMString>, ) -> Result<Root<Dom<HTMLAudioElement>>, Error>

Object Safety§

This trait is not object safe.

Implementors§