Trait music_theory::theory::traits::AsScaleTry

source ·
pub trait AsScaleTry {
    // Required method
    fn as_scale_try(&self, note: Note) -> Option<Scale>;
}
Expand description

Try to convert to Scale.

Required Methods§

source

fn as_scale_try(&self, note: Note) -> Option<Scale>

Borrow self and try to return Scale. Note is either the root of the scale or the octave.

Implementors§