pub struct ChannelPlan {
pub by_program: Vec<(Option<u8>, u8)>,
pub dynamic: Vec<u8>,
pub misplaced: Vec<Misplaced>,
}Expand description
Which channel each program plays on, and the channels left over to
bend microtones on: music21’s channelInstrumentData.
Fields§
§by_program: Vec<(Option<u8>, u8)>Each program, None for a part with no instrument, and its
channel counted from one, in the order they were given channels.
dynamic: Vec<u8>The channels no program took.
misplaced: Vec<Misplaced>The instruments put on the first channel against what they named.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelPlan
impl Clone for ChannelPlan
Source§impl Debug for ChannelPlan
impl Debug for ChannelPlan
Source§impl Default for ChannelPlan
impl Default for ChannelPlan
impl Eq for ChannelPlan
Source§impl PartialEq for ChannelPlan
impl PartialEq for ChannelPlan
impl StructuralPartialEq for ChannelPlan
Auto Trait Implementations§
impl Forget for ChannelPlan
impl Freeze for ChannelPlan
impl Move for ChannelPlan
impl RefUnwindSafe for ChannelPlan
impl Send for ChannelPlan
impl Sync for ChannelPlan
impl Unpin for ChannelPlan
impl UnsafeUnpin for ChannelPlan
impl UnwindSafe for ChannelPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more