Trait music_theory::theory::traits::AddInterval
source · pub trait AddIntervalwhere
Self: Sized,{
// Required method
fn add_interval(self, interval: Interval) -> Option<Self>;
}
Expand description
Music theory types that have the ability to have an Interval added to them.
Required Methods§
sourcefn add_interval(self, interval: Interval) -> Option<Self>
fn add_interval(self, interval: Interval) -> Option<Self>
Add an Interval.
Object Safety§
This trait is not object safe.