musicxml/datatypes/stick_location.rs
1use alloc::string::String;
2use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
3use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
4
5/// Represents pictograms for the location of sticks, beaters, or mallets on cymbals, gongs, drums, and other instruments.
6#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
7pub enum StickLocation {
8 /// <span class="smufl"></span>
9 Center,
10 /// <span class="smufl"></span>
11 #[rename("cymbal bell")]
12 CymbalBell,
13 /// <span class="smufl"></span>
14 #[rename("cymbal edge")]
15 CymbalEdge,
16 /// <span class="smufl"></span>
17 Rim,
18}