pub struct AudioNodeBuilder { /* private fields */ }Available on crate features
experimental and WebAudio only.Implementations§
Source§impl AudioNodeBuilder
impl AudioNodeBuilder
pub fn node_id(&mut self, v: GraphObjectId) -> &mut Self
pub fn context_id(&mut self, v: GraphObjectId) -> &mut Self
pub fn node_type(&mut self, v: NodeType) -> &mut Self
pub fn number_of_inputs(&mut self, v: f64) -> &mut Self
pub fn number_of_outputs(&mut self, v: f64) -> &mut Self
pub fn channel_count(&mut self, v: f64) -> &mut Self
pub fn channel_count_mode(&mut self, v: ChannelCountMode) -> &mut Self
pub fn channel_interpretation(&mut self, v: ChannelInterpretation) -> &mut Self
pub fn build(&mut self) -> Result<AudioNode, &'static str>
Trait Implementations§
Source§impl Clone for AudioNodeBuilder
impl Clone for AudioNodeBuilder
Source§fn clone(&self) -> AudioNodeBuilder
fn clone(&self) -> AudioNodeBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioNodeBuilder
impl Debug for AudioNodeBuilder
Auto Trait Implementations§
impl Freeze for AudioNodeBuilder
impl RefUnwindSafe for AudioNodeBuilder
impl Send for AudioNodeBuilder
impl Sync for AudioNodeBuilder
impl Unpin for AudioNodeBuilder
impl UnwindSafe for AudioNodeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more