musicxml/datatypes/note_type_value.rs
1use alloc::string::String;
2use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
3use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
4
5/// Used for the MusicXML [Type][crate::elements::Type] element and represents the graphic note type,
6/// from 1024th (shortest) to maxima (longest).
7#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
8pub enum NoteTypeValue {
9 /// 
10 Maxima,
11 /// 
12 Long,
13 /// 
14 Breve,
15 /// 
16 Whole,
17 /// 
18 Half,
19 /// 
20 Quarter,
21 /// 
22 Eighth,
23 /// 
24 #[rename("16th")]
25 Sixteenth,
26 /// 
27 #[rename("32nd")]
28 ThirtySecond,
29 /// 
30 #[rename("64th")]
31 SixtyFourth,
32 /// 
33 #[rename("128th")]
34 OneHundredTwentyEighth,
35 /// 
36 #[rename("256th")]
37 TwoHundredFiftySixth,
38 /// 
39 #[rename("512th")]
40 FiveHundredTwelfth,
41 /// 
42 #[rename("1024th")]
43 OneThousandTwentyFourth,
44}