pub struct AudioNodeBuilder { /* private fields */ }
Implementations§
Source§impl AudioNodeBuilder
impl AudioNodeBuilder
pub fn node_id(self, node_id: impl Into<GraphObjectId>) -> AudioNodeBuilder
pub fn context_id( self, context_id: impl Into<GraphObjectId>, ) -> AudioNodeBuilder
pub fn node_type(self, node_type: impl Into<NodeType>) -> AudioNodeBuilder
pub fn number_of_inputs( self, number_of_inputs: impl Into<f64>, ) -> AudioNodeBuilder
pub fn number_of_outputs( self, number_of_outputs: impl Into<f64>, ) -> AudioNodeBuilder
pub fn channel_count(self, channel_count: impl Into<f64>) -> AudioNodeBuilder
pub fn channel_count_mode( self, channel_count_mode: impl Into<ChannelCountMode>, ) -> AudioNodeBuilder
pub fn channel_interpretation( self, channel_interpretation: impl Into<ChannelInterpretation>, ) -> AudioNodeBuilder
pub fn build(self) -> Result<AudioNode, String>
Trait Implementations§
Source§impl Clone for AudioNodeBuilder
impl Clone for AudioNodeBuilder
Source§fn clone(&self) -> AudioNodeBuilder
fn clone(&self) -> AudioNodeBuilder
Returns a copy 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 Default for AudioNodeBuilder
impl Default for AudioNodeBuilder
Source§fn default() -> AudioNodeBuilder
fn default() -> AudioNodeBuilder
Returns the “default value” for a type. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more