chord-progression-parser 0.7.0

a converter from chord progression strings to AST
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::bar::Bar;
use serde::{Deserialize, Serialize};
use typeshare::typeshare;

#[typeshare]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[serde(tag = "type", content = "value", rename_all = "camelCase")]
pub enum ChordBlock {
    Bar(Bar),
    Br, // break of line
}