pub fn diatonic_size(&self) -> usize {
        match self {
            IntervalSize::Unison => 0,
            IntervalSize::Second => 1,
            IntervalSize::Third => 2,
            IntervalSize::Fourth => 3,
            IntervalSize::Fifth => 4,
            IntervalSize::Sixth => 5,
            IntervalSize::Seventh => 6,
        }
    }
/// The diatonic distance between the top note and the bottom note in an interval pair. A `Unison` has a 
/// distance of zero and a `Seventh` has a distance of 6.
The diatonic distance between the top note and the bottom note in an interval pair. A `Unison` has a
distance of zero and a `Seventh` has a distance of 6.
The diatonic distance between the top note and the bottom note in an interval pair . A ` Unison ` has a distance of zero and a ` Seventh ` has a distance of 6 .
pub fn diatonic_size(&self) -> usize {
        match self {
            IntervalSize::Unison => 0,
            IntervalSize::Second => 1,
            IntervalSize::Third => 2,
            IntervalSize::Fourth => 3,
            IntervalSize::Fifth => 4,
            IntervalSize::Sixth => 5,
            IntervalSize::Seventh => 6,
        }
    }
pub fn diatonic_size ( & self ) -> usize { match self { IntervalSize :: Unison => 0 , IntervalSize :: Second => 1 , IntervalSize :: Third => 2 , IntervalSize :: Fourth => 3 , IntervalSize :: Fifth => 4 , IntervalSize :: Sixth => 5 , IntervalSize :: Seventh => 6 , } }
The diatonic distance between the top note and the bottom note in an interval pair.
The diatonic distance between the top note and the bottom note in an interval pair .
&self