pub trait PitchClassCollection {
// Required method
fn pitch_classes(&self) -> Vec<PitchClass>;
}
Expand description
Trait implemented for types which represent or provide a collection of pitch classes.
Required Methods§
sourcefn pitch_classes(&self) -> Vec<PitchClass>
fn pitch_classes(&self) -> Vec<PitchClass>
Returns this type’s pitches.