pub struct NewScoreCmd {
pub title: String,
pub composer: String,
pub tempo_bpm: u16,
pub time_numerator: u8,
pub time_denominator: u8,
pub key_fifths: i8,
pub measure_count: u32,
pub template: Option<ScoreTemplate>,
}Fields§
§title: String§composer: String§tempo_bpm: u16§time_numerator: u8§time_denominator: u8§key_fifths: i8§measure_count: u32§template: Option<ScoreTemplate>When set, creates the score from an ensemble template instead of a blank single-part score.
Trait Implementations§
Source§impl Clone for NewScoreCmd
impl Clone for NewScoreCmd
Source§fn clone(&self) -> NewScoreCmd
fn clone(&self) -> NewScoreCmd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewScoreCmd
impl Debug for NewScoreCmd
Source§impl<'de> Deserialize<'de> for NewScoreCmd
impl<'de> Deserialize<'de> for NewScoreCmd
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 NewScoreCmd
impl RefUnwindSafe for NewScoreCmd
impl Send for NewScoreCmd
impl Sync for NewScoreCmd
impl Unpin for NewScoreCmd
impl UnsafeUnpin for NewScoreCmd
impl UnwindSafe for NewScoreCmd
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