[][src]Trait pitch_calc::letter::ToLetter

pub trait ToLetter {
    fn to_letter(&self) -> Letter;
}

A trait to be implemented for all primitives for easy conversion to the Letter type.

Required methods

fn to_letter(&self) -> Letter

Cast a primitive type to a Letter.

Loading content...

Implementors

impl<T: Int> ToLetter for T[src]

Loading content...