Trait music_theory::theory::traits::ModeTrait
source · pub trait ModeTrait {
// Required methods
fn next_mode_mut(&mut self);
fn next_mode(self) -> Self;
fn mode(self, mode: Mode) -> Self;
}
Expand description
Types that have modes (rotations of scales).
Required Methods§
sourcefn next_mode_mut(&mut self)
fn next_mode_mut(&mut self)
Modify the value so it turns into it’s next mode.
Object Safety§
This trait is not object safe.