Trait music_theory::theory::traits::ScaleIteratorSpawner

source ·
pub trait ScaleIteratorSpawner {
    // Required method
    fn scale_iter(&self, root: Note) -> ScaleIterator<'_> ;
}
Expand description

The ability to spawn an iterator that yields notes. Not very useful for types that already yield notes with their natural iterator.

Required Methods§

source

fn scale_iter(&self, root: Note) -> ScaleIterator<'_>

Spawn the iterator, with the root or starting note.

Implementors§