Trait script::dom::bindings::codegen::Bindings::ConstantSourceNodeBinding::ConstantSourceNode_Binding::ConstantSourceNodeMethods
source · pub trait ConstantSourceNodeMethods<D: DomTypes> {
// Required methods
fn Offset(&self) -> Root<Dom<AudioParam>>;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
context: &BaseAudioContext,
options: &ConstantSourceOptions,
) -> Result<Root<Dom<ConstantSourceNode>>, Error>;
}
Required Methods§
fn Offset(&self) -> Root<Dom<AudioParam>>
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, context: &BaseAudioContext, options: &ConstantSourceOptions, ) -> Result<Root<Dom<ConstantSourceNode>>, Error>
Object Safety§
This trait is not object safe.