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
use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Specifies whether margins apply to even page, odd pages, or both.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
pub enum MarginType {
  /// Margins apply to both even and odd pages.
  Both,
  /// Margins apply to even pages only.
  Even,
  /// Margins apply to odd pages only.
  Odd,
}