pub enum PolyMode {
Mono(u8),
Poly,
}
Expand description
Used by ChannelModeMsg::PolyMode
.
Variants§
Mono(u8)
Request that the receiver be monophonic, with the given number M representing the
number of channels that should be dedicated. Since this is sent with a ChannelModeMsg
there is already a “base” channel associated with it, and the number of requested channels
should be from this base channel N to N+M. 0
is a special case that directing the receiver
to assign the voices to as many channels as it can receive.
Poly
Request the receiver to be polyphonic
Trait Implementations§
source§impl PartialEq for PolyMode
impl PartialEq for PolyMode
impl Copy for PolyMode
impl Eq for PolyMode
impl StructuralPartialEq for PolyMode
Auto Trait Implementations§
impl Freeze for PolyMode
impl RefUnwindSafe for PolyMode
impl Send for PolyMode
impl Sync for PolyMode
impl Unpin for PolyMode
impl UnwindSafe for PolyMode
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