pub fn part_group_xml(group: &StaffGroup) -> StringAvailable on crate feature
musicxml only.Expand description
What music21’s staffGroupToXmlPartGroup writes for a staff group:
the <part-group type="start">, its number left for the part list to
give it.
use music21::stream::StaffGroup;
use music21::musicxml::part_group_xml;
assert!(part_group_xml(&StaffGroup::new(vec![0, 1])).starts_with("<part-group type=\"start\">"));