1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// Describes the shape and presence / absence of an enclosure around text or symbols.
///
/// A [Bracket][EnclosureShape::Bracket] enclosure is similar to a rectangle with the bottom line missing,
/// as is common in jazz notation. An [InvertedBracket][EnclosureShape::InvertedBracket] enclosure is
/// similar to a rectangle with the top line missing.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
pub enum EnclosureShape {
/// 
Rectangle,
/// 
Square,
/// 
Oval,
/// 
Circle,
/// 
Bracket,
/// 
#[rename("inverted-bracket")]
InvertedBracket,
/// 
Triangle,
/// 
Diamond,
/// 
Pentagon,
/// 
Hexagon,
/// 
Heptagon,
/// 
Octagon,
/// 
Nonagon,
/// 
Decagon,
/// No enclosure is displayed.
None,
}