Trait klib::note::NoteRecreator

source ·
pub trait NoteRecreator {
    fn with_named_pitch(self, named_pitch: NamedPitch) -> Self;
    fn with_octave(self, octave: Octave) -> Self;
}
Expand description

A trait which allows for a Note to be recreated with different properties.

Required Methods§

Recreates this Note with the given NamedPitch.

Recreates this Note with the given Octave.

Implementors§