pub struct RenderMetadata {Show 22 fields
pub contract_version: u32,
pub width: f32,
pub height: f32,
pub part_count: usize,
pub staff_count: usize,
pub measure_count: usize,
pub note_count: usize,
pub view: Option<RenderedViewMetadata>,
pub accessible_text: String,
pub address_bounds: Vec<AddressBounds>,
pub text_annotations: Vec<TextAnnotation>,
pub score_texts: Vec<ScoreTextMetadata>,
pub tablature_positions: Vec<TablaturePositionMetadata>,
pub tablature_staves: Vec<TablatureStaffMetadata>,
pub tablature_changes: Vec<TablatureChangeMetadata>,
pub harmony_ranges: Vec<HarmonyRangeMetadata>,
pub tablature_technique_connections: Vec<TablatureTechniqueConnectionMetadata>,
pub note_semantics: Vec<NoteSemanticMetadata>,
pub object_style_overrides: Vec<ObjectStyleOverride>,
pub harp_pedal_diagrams: Vec<HarpPedalDiagramMetadata>,
pub section_breaks: Vec<usize>,
pub staff_presentations: Vec<StaffPresentationMetadata>,
}Expand description
Lightweight browser-facing metadata for a rendered score.
Fields§
§contract_version: u32Version of the metadata contract, for forward-compatible browser hosts.
width: f32§height: f32§part_count: usize§staff_count: usize§measure_count: usize§note_count: usize§view: Option<RenderedViewMetadata>Resolved linked-view context when the caller used render_svg_view_metadata.
None means the source score was rendered directly.
accessible_text: StringHuman-readable fallback text for hosts that cannot expose the SVG semantics.
address_bounds: Vec<AddressBounds>§text_annotations: Vec<TextAnnotation>Measure-level text with its stable score location and typed presentation role.
score_texts: Vec<ScoreTextMetadata>Score-level title-page text imported from formats such as MuseScore VBox.
tablature_positions: Vec<TablaturePositionMetadata>String/fret positions exposed without requiring hosts to parse SVG elements.
tablature_staves: Vec<TablatureStaffMetadata>Tuning and capo metadata for each rendered tablature staff.
tablature_changes: Vec<TablatureChangeMetadata>Measure-local tuning or capo changes for tablature hosts.
harmony_ranges: Vec<HarmonyRangeMetadata>Chord labels whose continuation range is exposed with typed note addresses.
tablature_technique_connections: Vec<TablatureTechniqueConnectionMetadata>Tablature technique connections with stable start/end note addresses.
note_semantics: Vec<NoteSemanticMetadata>Note-level semantic fields needed by browser playback and editing hosts.
object_style_overrides: Vec<ObjectStyleOverride>Typed object-level presentation overrides, preserved for browser hosts without SVG parsing.
harp_pedal_diagrams: Vec<HarpPedalDiagramMetadata>Harp pedal diagrams in the conventional D-C-B / E-F-G-A order.
section_breaks: Vec<usize>Semantic section boundaries by physical measure; unrelated to page or system breaks.
staff_presentations: Vec<StaffPresentationMetadata>Renderer-independent presentation selected for every rendered staff.