musicxml/elements/
note_size.rs1use crate::datatypes::{NonNegativeDecimal, NoteSizeType};
2use alloc::{string::String, vec::Vec};
3use musicxml_internal::*;
4use musicxml_macros::*;
5
6#[derive(Debug, PartialEq, Eq, AttributeDeserialize, AttributeSerialize)]
8pub struct NoteSizeAttributes {
9 pub r#type: NoteSizeType,
11}
12
13#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
18#[rename("note-size")]
19pub struct NoteSize {
20 pub attributes: NoteSizeAttributes,
22 pub content: NonNegativeDecimal,
24}