musicxml 1.1.2

MusicXML parsing, manipulation, and export library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::datatypes::SwingTypeValue;
use alloc::string::String;
use musicxml_internal::*;
use musicxml_macros::*;

/// The [SwingType] element specifies the note type, either eighth or 16th, to which the [First][super::First] to [Second][super::Second] ratio is applied.
///
/// The value is eighth if this element is not present.
#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
#[rename("swing-type")]
pub struct SwingType {
  /// Element-specific attributes
  pub attributes: (),
  /// Element-specific content
  pub content: SwingTypeValue,
}