Trait script::dom::bindings::codegen::Bindings::MediaElementAudioSourceNodeBinding::MediaElementAudioSourceNode_Binding::MediaElementAudioSourceNodeMethods
source · pub trait MediaElementAudioSourceNodeMethods {
// Required methods
fn MediaElement(&self) -> Root<Dom<HTMLMediaElement>>;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
context: &AudioContext,
options: &MediaElementAudioSourceOptions,
) -> Result<Root<Dom<MediaElementAudioSourceNode>>, Error>;
}
Required Methods§
fn MediaElement(&self) -> Root<Dom<HTMLMediaElement>>
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &AudioContext, options: &MediaElementAudioSourceOptions, ) -> Result<Root<Dom<MediaElementAudioSourceNode>>, Error>
Object Safety§
This trait is not object safe.