Trait script::dom::bindings::codegen::Bindings::MediaStreamAudioSourceNodeBinding::MediaStreamAudioSourceNode_Binding::MediaStreamAudioSourceNodeMethods
source · pub trait MediaStreamAudioSourceNodeMethods<D: DomTypes> {
// Required methods
fn MediaStream(&self) -> Root<Dom<MediaStream>>;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
context: &AudioContext,
options: &MediaStreamAudioSourceOptions,
) -> Result<Root<Dom<MediaStreamAudioSourceNode>>, Error>;
}
Required Methods§
fn MediaStream(&self) -> Root<Dom<MediaStream>>
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &AudioContext, options: &MediaStreamAudioSourceOptions, ) -> Result<Root<Dom<MediaStreamAudioSourceNode>>, Error>
Object Safety§
This trait is not object safe.