pub struct BarlineAttributes {
pub coda: Option<Token>,
pub divisions: Option<Divisions>,
pub id: Option<Id>,
pub location: Option<RightLeftMiddle>,
pub segno: Option<Token>,
}Expand description
Attributes pertaining to the Barline element.
Fields§
§coda: Option<Token>Used for playback when there is a Coda child element. Indicates the end point for a forward jump to a coda sign. If there are multiple jumps, the value of these parameters can be used to name and distinguish them.
divisions: Option<Divisions>If the segno or coda attributes are used, the divisions attribute can be used to indicate the
number of divisions per quarter note. Otherwise sound and MIDI generating programs may have to recompute this.
id: Option<Id>Specifies an ID that is unique to the entire document.
location: Option<RightLeftMiddle>Barlines have a location attribute to make it easier to process barlines independently of the other musical data in a score.
It is often easier to set up measures separately from entering notes. The location attribute must match where the Barline
element occurs within the rest of the musical data in the score. If location is “left,” it should be the first element in the measure,
aside from the Print, Bookmark, and Link elements.
If location is “right,” it should be the last element, again with the possible exception of the Print,
Bookmark, and Link elements. The default value is “right.”
segno: Option<Token>Used for playback when there is a Segno child element. Indicates the end point for a backward jump to a segno sign. If there are multiple jumps, the value of these parameters can be used to name and distinguish them.