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

/// The [Volume] element value is a percentage of the maximum ranging from 0 to 100, with decimal values allowed.
///
/// This corresponds to a scaling value for the MIDI 1.0 channel volume controller.
#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
pub struct Volume {
  /// Element-specific attributes
  pub attributes: (),
  /// Element-specific content
  pub content: Percent,
}