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
use crate::datatypes::PositiveInteger;
use alloc::string::String;
use musicxml_internal::*;
use musicxml_macros::*;

/// [Staff] assignment is only needed for music notated on multiple staves.
///
/// Staff values are numbers, with 1 referring to the top-most staff in a part.
#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
pub struct Staff {
  /// Element-specific attributes
  pub attributes: (),
  /// Element-specific content
  pub content: PositiveInteger,
}