Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/above_below.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Used to indicate whether one element appears above or below another element.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum AboveBelow {
/// This element appears above the reference element.
Above,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/accidental_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// `smufl` attribute to specify a particular Standard Music Font Layout (SMuFL) accidental.
///
/// The `smufl` attribute may be used with any accidental value to help specify the appearance of symbols that share the same MusicXML semantics.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum AccidentalValue {
/// <span class="smufl">&#xE262;</span>
Sharp,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/accordion_middle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use musicxml_macros::DatatypeSerialize;
/// **Minimum allowed value:** 1
///
/// **Maximum allowed value:** 3
#[derive(Debug, PartialEq, Eq, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeSerialize)]
pub struct AccordionMiddle(pub u8);

impl Deref for AccordionMiddle {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/anyuri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// See the definition in the [W3C XML Schema standard](https://www.w3.org/TR/xmlschema-2/#anyURI).
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub struct AnyUri(pub String);

impl Deref for AnyUri {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/arrow_direction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the direction in which an arrow points, using Unicode arrow terminology.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum ArrowDirection {
/// ![Down](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/arrow-direction-down.png)
Down,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/arrow_style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// [Paired][ArrowStyle::Paired] arrows are duplicate [Single][ArrowStyle::Single] arrows in the same direction.
/// [Combined][ArrowStyle::Combined] arrows apply to [Double][ArrowStyle::Double] direction arrows like left right,
/// indicating that an arrow in one direction should be combined with an arrow in the other direction.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum ArrowStyle {
/// ![Combined](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/arrow-style-combined.png)
Combined,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/backward_forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
///
/// The start of the repeat has a [Forward][BackwardForward::Forward] direction while
/// the end of the repeat has a [Backward][BackwardForward::Backward] direction.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BackwardForward {
/// ![Backward](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/backward-forward-backward.png)
Backward,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/bar_style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents barline style information.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BarStyle {
/// ![Dashed](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/bar-style-dashed.png)
Dashed,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/beam_level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use musicxml_macros::DatatypeSerialize;
/// It does not distinguish overlapping beams, such as grace notes within regular notes, or beams used in different voices.
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeSerialize)]
pub struct BeamLevel(pub u8);

impl Deref for BeamLevel {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/beam_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the type of beam associated with each of 8 beam levels (up to 1024th notes) available for each note.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BeamValue {
/// ![BackwardHook](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/beam-value-backward-hook.png)
#[rename("backward hook")]
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/beater_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents pictograms for beaters, mallets, and sticks that do not have different materials represented in the pictogram.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BeaterValue {
/// <span class="smufl">&#xE7DE;</span>
Bow,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/bend_shape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Distinguishes between the [Angled][BendShape::Angled] bend symbols commonly used in standard notation
/// and the [Curved][BendShape::Curved] bend symbols commonly used in both tablature and standard notation.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BendShape {
/// ![Angled](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/bend-shape-angled.png)
Angled,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/breath_mark_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the symbol used for a breath mark.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum BreathMarkValue {
/// <span class="smufl">&#xE4CE;</span>
Comma,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/caesura_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};

/// Represents the shape of the caesura sign.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum CaesuraValue {
/// <span class="smufl">&#xE4D1;</span>
Normal,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/cancel_location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// [BeforeBarline][CancelLocation::BeforeBarline] and to the left. It is [Left][CancelLocation::Left] if not specified.
///
/// For mid-measure key elements, [BeforeBarline][CancelLocation::BeforeBarline] should be treated like [Left][CancelLocation::Left].
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum CancelLocation {
/// ![Left](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/cancel-location-left.png)
Left,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/circular_arrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the direction in which a circular arrow points, using Unicode arrow terminology.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum CircularArrow {
/// ![Anticlockwise](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/circular-arrow-anticlockwise.png)
Anticlockwise,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/clef_sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the different clef symbols.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum ClefSign {
/// ![G](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/clef-G.png)
#[rename("G")]
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use regex::Regex;
///
/// As in [SVG 1.1](https://www.w3.org/TR/SVG11/color.html),
/// colors are defined in terms of the [sRGB](https://www.color.org/srgb04.xalter) color space (IEC 61966).
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub struct Color {
/// Amount of red present in the color (0-127)
pub r: u8,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/comma_separated_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
/// Used to specify a comma-separated list of text elements, as is used by the `font_family` attribute.
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub struct CommaSeparatedText(pub Vec<String>);

impl Deref for CommaSeparatedText {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/css_font_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
///
/// In CSS, these refer to an entry in a table of font sizes computed and kept by the user agent.
/// The scaling is relative to the reference value of [Medium][CssFontSize::Medium].
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum CssFontSize {
/// Scaling factor guideline: 3/5 of [Medium][CssFontSize::Medium].
#[rename("xx-small")]
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use regex::Regex;

/// See the definition in the [W3C XML Schema standard](https://www.w3.org/TR/xmlschema-2/#date).
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub struct Date {
/// The year of the date.
pub year: u16,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/decimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// See the definition in the [W3C XML Schema standard](https://www.w3.org/TR/xmlschema-2/#decimal).
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub struct Decimal(pub f64);

impl Eq for Decimal {}
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/degree_symbol_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Indicates which symbol should be used in specifying a degree.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum DegreeSymbolValue {
/// <span class="smufl">&#xE873;</span>
Major,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/degree_type_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Indicates whether the current degree element is an addition, alteration, or subtraction
/// to the kind of the current chord in the harmony element.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum DegreeTypeValue {
/// The degree is an addition to the kind of the current chord.
Add,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/distance_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
/// - [Beam][DistanceType::Beam]: The distance between beams.
/// - [Hyphen][DistanceType::Hyphen]: The distance between hyphens in lyrics.
/// - [Other][DistanceType::Other]: Left as a string so that other application-specific types can be defined.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum DistanceType {
/// The distance between beams.
Beam,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/divisions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// It is preferred that these be integer values both for MIDI interoperability and to avoid roundoff errors.
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub struct Divisions(pub i32);

impl Deref for Divisions {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/effect_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// Represents pictograms for sound effect percussion instruments.
///
/// The cannon, lotus flute, and megaphone values are in addition to Stone's list.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum EffectValue {
/// <span class="smufl">&#xE701;</span>
Anvil,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/enclosure_shape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// A [Bracket][EnclosureShape::Bracket] enclosure is similar to a rectangle with the bottom line missing,
/// as is common in jazz notation. An [InvertedBracket][EnclosureShape::InvertedBracket] enclosure is
/// similar to a rectangle with the top line missing.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum EnclosureShape {
/// ![Rectangle](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/enclosure-shape-rectangle.png)
Rectangle,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/ending_number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use regex::Regex;
/// The "zero or more spaces" version is used when software knows that an ending is present, but cannot determine the type of the ending.
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Clone, DatatypeSerialize)]
pub struct EndingNumber(pub String);

impl Deref for EndingNumber {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/fan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the type of beam fanning present on a note, used to represent accelerandos and ritardandos.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum Fan {
/// ![Accelerando](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/fan-accel.png)
Accel,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/fermata_shape.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};

/// Represents the shape of the fermata sign.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum FermataShape {
/// <span class="smufl">&#xE4C0;</span>
Normal,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/fifths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use musicxml_macros::DatatypeSerialize;
/// key's placement within the circle of fifths (hence the type name).
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeSerialize)]
pub struct Fifths(pub i8);

impl Deref for Fifths {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/font_family.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
/// The fantasy style refers to decorative text such as found in older German-style printing.
///
/// The value of an instance of this type may be accessed by dereferencing the struct: `*datatype_val`.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub struct FontFamily(pub Vec<String>);

impl Deref for FontFamily {
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/font_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};

/// Can be one of the [CSS font sizes](https://www.w3.org/2021/06/musicxml40/musicxml-reference/data-types/css-font-size/)
/// or a [decimal](https://www.w3.org/2021/06/musicxml40/musicxml-reference/data-types/xsd-decimal/) point size.
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Copy, Clone)]
pub enum FontSize {
/// One of the [CSS font sizes](https://www.w3.org/2021/06/musicxml40/musicxml-reference/data-types/css-font-size/).
Css(CssFontSize),
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/font_style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents a simplified version of the [CSS font-style property](https://www.w3.org/TR/2018/REC-css-fonts-3-20180920/#font-prop-desc).
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum FontStyle {
/// Normal text.
Normal,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/font_weight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents a simplified version of the [CSS font-weight property](https://www.w3.org/TR/2018/REC-css-fonts-3-20180920/#font-prop-desc).
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum FontWeight {
/// Normal text.
Normal,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/glass_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents pictograms for glass percussion instruments.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum GlassValue {
/// <span class="smufl">&#xE765;</span>
#[rename("glass harmonica")]
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/glyph_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};

/// Defines what type of glyph is being defined in a [Glyph][crate::elements::Glyph] element.
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Clone)]
pub enum GlyphType {
/// Specifies the glyph to use when a note has a [Rest][crate::elements::Rest] element and a `type` value of quarter.
QuarterRest,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/group_barline_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Indicates if the group should have common barlines.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum GroupBarlineValue {
/// ![Yes](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/group-barline-value-yes.png)
Yes,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/group_symbol_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Indicates how the symbol for a group or multi-staff part is indicated in the score.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum GroupSymbolValue {
/// ![Brace](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/group-symbol-value-brace.png)
Brace,
Expand Down
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/handbell_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};

/// Represents the type of handbell technique being notated.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
#[derive(Debug, PartialEq, Eq, Copy, Clone, DatatypeDeserialize, DatatypeSerialize)]
pub enum HandbellValue {
/// <span class="smufl">&#xE81F;</span>
Belltree,
Expand Down
Loading