Trait ToLetter
pitch_calc::letter
pub trait ToLetter { fn to_letter(&self) -> Letter; }
A trait to be implemented for all primitives for easy conversion to the Letter type.
fn to_letter(&self) -> Letter
Cast a primitive type to a Letter.
impl<T: Int> ToLetter for T