pub fn chromatic_offset(&self) -> isize {
        match self {
            Accidental::Flat(degree) => -1 * (*degree as isize + 1),
            Accidental::Natural => 0,
            Accidental::Sharp(degree) => *degree as isize + 1,
        }
    }
/// The number of half-steps up or down that an accidental represents
The number of half-steps up or down that an accidental represents
The number of half - steps up or down that an accidental represents
pub fn chromatic_offset(&self) -> isize {
        match self {
            Accidental::Flat(degree) => -1 * (*degree as isize + 1),
            Accidental::Natural => 0,
            Accidental::Sharp(degree) => *degree as isize + 1,
        }
    }
pub fn chromatic_offset ( & self ) -> isize { match self { Accidental :: Flat ( degree ) => - 1 * ( * degree as isize + 1 ) , Accidental :: Natural => 0 , Accidental :: Sharp ( degree ) => * degree as isize + 1 , } }
The number of half-steps up or down that an accidental represents
The number of half - steps up or down that an accidental represents
&self