pub struct VoicingChangePalette {
pub voicings: Vec<ExactVoicing>,
pub changes: Vec<VoicingChange>,
}Expand description
All directed transitions among a finite exact voicing palette.
Fields§
§voicings: Vec<ExactVoicing>Palette voicings.
changes: Vec<VoicingChange>Unique directed changes in (source, target) order.
Implementations§
Source§impl VoicingChangePalette
impl VoicingChangePalette
Sourcepub fn outgoing(&self, source: usize) -> impl Iterator<Item = &VoicingChange>
pub fn outgoing(&self, source: usize) -> impl Iterator<Item = &VoicingChange>
Returns all changes leaving source, or an empty slice iterator for a
dead end.
Trait Implementations§
Source§impl Clone for VoicingChangePalette
impl Clone for VoicingChangePalette
Source§fn clone(&self) -> VoicingChangePalette
fn clone(&self) -> VoicingChangePalette
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VoicingChangePalette
impl Debug for VoicingChangePalette
impl Eq for VoicingChangePalette
Source§impl PartialEq for VoicingChangePalette
impl PartialEq for VoicingChangePalette
impl StructuralPartialEq for VoicingChangePalette
Auto Trait Implementations§
impl Freeze for VoicingChangePalette
impl RefUnwindSafe for VoicingChangePalette
impl Send for VoicingChangePalette
impl Sync for VoicingChangePalette
impl Unpin for VoicingChangePalette
impl UnsafeUnpin for VoicingChangePalette
impl UnwindSafe for VoicingChangePalette
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