Enum web_audio_api::node::ChannelCountMode
source · [−]pub enum ChannelCountMode {
Max,
ClampedMax,
Explicit,
}
Expand description
How channels must be matched between the node’s inputs and outputs.
Variants
Max
computedNumberOfChannels
is the maximum of the number of channels of all connections to an
input. In this mode channelCount is ignored.
ClampedMax
computedNumberOfChannels
is determined as for “max” and then clamped to a maximum value of
the given channelCount.
Explicit
computedNumberOfChannels
is the exact value as specified by the channelCount.
Trait Implementations
sourceimpl Clone for ChannelCountMode
impl Clone for ChannelCountMode
sourcefn clone(&self) -> ChannelCountMode
fn clone(&self) -> ChannelCountMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChannelCountMode
impl Debug for ChannelCountMode
sourceimpl PartialEq<ChannelCountMode> for ChannelCountMode
impl PartialEq<ChannelCountMode> for ChannelCountMode
impl Copy for ChannelCountMode
impl Eq for ChannelCountMode
impl StructuralEq for ChannelCountMode
impl StructuralPartialEq for ChannelCountMode
Auto Trait Implementations
impl RefUnwindSafe for ChannelCountMode
impl Send for ChannelCountMode
impl Sync for ChannelCountMode
impl Unpin for ChannelCountMode
impl UnwindSafe for ChannelCountMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
fn into_sample(self) -> T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more