pub struct ScoreFragment {
pub contract_version: u16,
pub voices: Vec<ScoreFragmentVoice>,
pub spanners: Vec<NotationSpanner>,
pub diagnostics: Vec<ScoreFragmentDiagnostic>,
}Expand description
A portable score snapshot. All addresses in voices and spanners are
relative to the selection’s lowest part, staff and measure indexes.
Fields§
§contract_version: u16§voices: Vec<ScoreFragmentVoice>§spanners: Vec<NotationSpanner>§diagnostics: Vec<ScoreFragmentDiagnostic>Trait Implementations§
Source§impl Clone for ScoreFragment
impl Clone for ScoreFragment
Source§impl Debug for ScoreFragment
impl Debug for ScoreFragment
Source§impl<'de> Deserialize<'de> for ScoreFragment
impl<'de> Deserialize<'de> for ScoreFragment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScoreFragment
impl RefUnwindSafe for ScoreFragment
impl Send for ScoreFragment
impl Sync for ScoreFragment
impl Unpin for ScoreFragment
impl UnsafeUnpin for ScoreFragment
impl UnwindSafe for ScoreFragment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more