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§
Source§impl Clone for ChannelCountMode
impl Clone for ChannelCountMode
Source§fn clone(&self) -> ChannelCountMode
fn clone(&self) -> ChannelCountMode
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 ChannelCountMode
impl Debug for ChannelCountMode
Source§impl From<u32> for ChannelCountMode
impl From<u32> for ChannelCountMode
Source§impl PartialEq for ChannelCountMode
impl PartialEq for ChannelCountMode
impl Copy for ChannelCountMode
impl Eq for ChannelCountMode
impl StructuralPartialEq for ChannelCountMode
Auto Trait Implementations§
impl Freeze for ChannelCountMode
impl RefUnwindSafe for ChannelCountMode
impl Send for ChannelCountMode
impl Sync for ChannelCountMode
impl Unpin for ChannelCountMode
impl UnwindSafe for ChannelCountMode
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