Macro persichetti::pnote [−][src]
macro_rules! pnote { ($token:expr) => { ... }; ($name:expr, $accidental:expr, $octave:expr) => { ... }; }
Initialize a PitchedNote
The constructor is either PitchedNote::from_str
or PitchedNote::new
.
With the string constructor, the return type will be a Result
of PitchedNote
and NoteError
.