Trait script::dom::bindings::codegen::Bindings::HTMLAudioElementBinding::HTMLAudioElement_Binding::HTMLAudioElementMethods
source · 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§
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.