pub struct AudioNodeOptions {
pub channel_count: usize,
pub channel_count_mode: ChannelCountMode,
pub channel_interpretation: ChannelInterpretation,
}
Expand description
Options that can be used in constructing all AudioNodes.
Fields§
§channel_count: usize
Desired number of channels for the AudioNode::channel_count
attribute.
channel_count_mode: ChannelCountMode
Desired mode for the AudioNode::channel_count_mode
attribute.
channel_interpretation: ChannelInterpretation
Desired mode for the AudioNode::channel_interpretation
attribute.
Trait Implementations§
Source§impl Clone for AudioNodeOptions
impl Clone for AudioNodeOptions
Source§fn clone(&self) -> AudioNodeOptions
fn clone(&self) -> AudioNodeOptions
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 Debug for AudioNodeOptions
impl Debug for AudioNodeOptions
Source§impl Default for AudioNodeOptions
impl Default for AudioNodeOptions
Source§impl From<AudioNodeOptions> for ChannelConfig
impl From<AudioNodeOptions> for ChannelConfig
Source§fn from(opts: AudioNodeOptions) -> Self
fn from(opts: AudioNodeOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AudioNodeOptions
impl RefUnwindSafe for AudioNodeOptions
impl Send for AudioNodeOptions
impl Sync for AudioNodeOptions
impl Unpin for AudioNodeOptions
impl UnwindSafe for AudioNodeOptions
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