Trait music_theory::theory::traits::ToRelativeIntervals

source ·
pub trait ToRelativeIntervals {
    // Required method
    fn to_relative_intervals(self, reference: &Self) -> Option<Intervals>;
}
Expand description

Try to convert to relative intervals.

Required Methods§

source

fn to_relative_intervals(self, reference: &Self) -> Option<Intervals>

Borrow self and a reference and compare piecewise. Try to return the differences as Interval’s. Inputs must be of equal length.

Object Safety§

This trait is not object safe.

Implementors§