pub struct Score {
pub tempo_bpm: u32,
pub time_signature: (u8, u8),
pub key: Option<String>,
pub body: Music,
}Expand description
A top-level score: global settings plus a musical body.
Fields§
§tempo_bpm: u32Tempo in beats per minute.
time_signature: (u8, u8)Time signature as a (numerator, denominator) pair.
key: Option<String>Key the score is in, if specified.
body: MusicThe musical content of the score.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Score
impl !UnwindSafe for Score
impl Freeze for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnsafeUnpin for Score
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