Struct web_sys::ConvolverNode
source · #[repr(transparent)]pub struct ConvolverNode { /* private fields */ }
Expand description
The ConvolverNode
object
This API requires the following crate features to be activated: ConvolverNode
Implementations§
source§impl ConvolverNode
impl ConvolverNode
sourcepub fn new(context: &BaseAudioContext) -> Result<ConvolverNode, JsValue>
pub fn new(context: &BaseAudioContext) -> Result<ConvolverNode, JsValue>
The new ConvolverNode(..)
constructor, creating a new instance of ConvolverNode
This API requires the following crate features to be activated: BaseAudioContext
, ConvolverNode
source§impl ConvolverNode
impl ConvolverNode
sourcepub fn new_with_options(
context: &BaseAudioContext,
options: &ConvolverOptions
) -> Result<ConvolverNode, JsValue>
pub fn new_with_options(
context: &BaseAudioContext,
options: &ConvolverOptions
) -> Result<ConvolverNode, JsValue>
The new ConvolverNode(..)
constructor, creating a new instance of ConvolverNode
This API requires the following crate features to be activated: BaseAudioContext
, ConvolverNode
, ConvolverOptions
source§impl ConvolverNode
impl ConvolverNode
sourcepub fn buffer(&self) -> Option<AudioBuffer>
pub fn buffer(&self) -> Option<AudioBuffer>
The buffer
getter
This API requires the following crate features to be activated: AudioBuffer
, ConvolverNode
source§impl ConvolverNode
impl ConvolverNode
sourcepub fn set_buffer(&self, buffer: Option<&AudioBuffer>)
pub fn set_buffer(&self, buffer: Option<&AudioBuffer>)
The buffer
setter
This API requires the following crate features to be activated: AudioBuffer
, ConvolverNode
source§impl ConvolverNode
impl ConvolverNode
source§impl ConvolverNode
impl ConvolverNode
sourcepub fn set_normalize(&self, normalize: bool)
pub fn set_normalize(&self, normalize: bool)
The normalize
setter
This API requires the following crate features to be activated: ConvolverNode
Trait Implementations§
source§impl AsRef<AudioNode> for ConvolverNode
impl AsRef<AudioNode> for ConvolverNode
source§impl AsRef<EventTarget> for ConvolverNode
impl AsRef<EventTarget> for ConvolverNode
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
source§impl AsRef<JsValue> for ConvolverNode
impl AsRef<JsValue> for ConvolverNode
source§impl AsRef<Object> for ConvolverNode
impl AsRef<Object> for ConvolverNode
source§impl Clone for ConvolverNode
impl Clone for ConvolverNode
source§fn clone(&self) -> ConvolverNode
fn clone(&self) -> ConvolverNode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConvolverNode
impl Debug for ConvolverNode
source§impl From<ConvolverNode> for AudioNode
impl From<ConvolverNode> for AudioNode
source§fn from(obj: ConvolverNode) -> AudioNode
fn from(obj: ConvolverNode) -> AudioNode
source§impl From<ConvolverNode> for EventTarget
impl From<ConvolverNode> for EventTarget
source§fn from(obj: ConvolverNode) -> EventTarget
fn from(obj: ConvolverNode) -> EventTarget
source§impl From<ConvolverNode> for JsValue
impl From<ConvolverNode> for JsValue
source§fn from(obj: ConvolverNode) -> JsValue
fn from(obj: ConvolverNode) -> JsValue
source§impl From<ConvolverNode> for Object
impl From<ConvolverNode> for Object
source§fn from(obj: ConvolverNode) -> Object
fn from(obj: ConvolverNode) -> Object
source§impl From<JsValue> for ConvolverNode
impl From<JsValue> for ConvolverNode
source§fn from(obj: JsValue) -> ConvolverNode
fn from(obj: JsValue) -> ConvolverNode
source§impl FromWasmAbi for ConvolverNode
impl FromWasmAbi for ConvolverNode
source§impl<'a> IntoWasmAbi for &'a ConvolverNode
impl<'a> IntoWasmAbi for &'a ConvolverNode
source§impl IntoWasmAbi for ConvolverNode
impl IntoWasmAbi for ConvolverNode
source§impl JsCast for ConvolverNode
impl JsCast for ConvolverNode
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
source§impl OptionFromWasmAbi for ConvolverNode
impl OptionFromWasmAbi for ConvolverNode
source§impl<'a> OptionIntoWasmAbi for &'a ConvolverNode
impl<'a> OptionIntoWasmAbi for &'a ConvolverNode
source§impl OptionIntoWasmAbi for ConvolverNode
impl OptionIntoWasmAbi for ConvolverNode
source§impl RefFromWasmAbi for ConvolverNode
impl RefFromWasmAbi for ConvolverNode
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
Self
are recovered from.§type Anchor = ManuallyDrop<ConvolverNode>
type Anchor = ManuallyDrop<ConvolverNode>
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ConvolverNode
impl Send for ConvolverNode
impl Sync for ConvolverNode
impl Unpin for ConvolverNode
impl UnwindSafe for ConvolverNode
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more