pub fn from_isize(degree: isize) -> Accidental {
        match degree {
            isize::MIN..=-1 => Accidental::Flat((-degree as usize) - 1),
            0 => Accidental::Natural,
            _ => Accidental::Sharp(degree as usize - 1)
        }
    }
/// Converts a degree of chromatic alteration applied to a note into an accidental.
Converts a degree of chromatic alteration applied to a note into an accidental.
Converts a degree of chromatic alteration applied to a note into an accidental .
pub fn from_isize(degree: isize) -> Accidental {
        match degree {
            isize::MIN..=-1 => Accidental::Flat((-degree as usize) - 1),
            0 => Accidental::Natural,
            _ => Accidental::Sharp(degree as usize - 1)
        }
    }
pub fn from_isize ( degree : isize ) -> Accidental { match degree { isize :: MIN ..= - 1 => Accidental :: Flat ( ( - degree as usize ) - 1 ) , 0 => Accidental :: Natural , _ => Accidental :: Sharp ( degree as usize - 1 ) } }
Converts a degree of chromatic alteration applied to a note into an accidental.
Converts a degree of chromatic alteration applied to a note into an accidental .
degree
isize