Enum midi_msg::PolyMode [−][src]
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.
Request the receiver to be polyphonic
Trait Implementations
impl Clone for PolyMode
[src]
impl Copy for PolyMode
[src]
impl Debug for PolyMode
[src]
impl PartialEq<PolyMode> for PolyMode
[src]
impl StructuralPartialEq for PolyMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for PolyMode
impl Send for PolyMode
impl Sync for PolyMode
impl Unpin for PolyMode
impl UnwindSafe for PolyMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,