Enum web_audio_api::buffer::ChannelCountMode[][src]

pub enum ChannelCountMode {
    Max,
    ClampedMax,
    Explicit,
}

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

impl Clone for ChannelCountMode[src]

impl Copy for ChannelCountMode[src]

impl Debug for ChannelCountMode[src]

impl Eq for ChannelCountMode[src]

impl From<u32> for ChannelCountMode[src]

impl PartialEq<ChannelCountMode> for ChannelCountMode[src]

impl StructuralEq for ChannelCountMode[src]

impl StructuralPartialEq for ChannelCountMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.