pub struct MelodicInsertionOptions {
pub part: usize,
pub staff: usize,
pub voice: usize,
pub start_measure: usize,
pub end_measure: usize,
pub key: KeySignature,
pub kind: MelodicInsertionKind,
pub source: MelodicInsertionSource,
pub max_insertions: usize,
pub min_midi: u8,
pub max_midi: u8,
pub max_leap_semitones: u8,
}Expand description
Explicit inputs; the measure range is zero-based and end-exclusive.
Fields§
§part: usize§staff: usize§voice: usize§start_measure: usize§end_measure: usize§key: KeySignature§kind: MelodicInsertionKind§source: MelodicInsertionSource§max_insertions: usize§min_midi: u8§max_midi: u8§max_leap_semitones: u8Trait Implementations§
Source§impl Clone for MelodicInsertionOptions
impl Clone for MelodicInsertionOptions
Source§impl Debug for MelodicInsertionOptions
impl Debug for MelodicInsertionOptions
Source§impl<'de> Deserialize<'de> for MelodicInsertionOptions
impl<'de> Deserialize<'de> for MelodicInsertionOptions
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 MelodicInsertionOptions
impl RefUnwindSafe for MelodicInsertionOptions
impl Send for MelodicInsertionOptions
impl Sync for MelodicInsertionOptions
impl Unpin for MelodicInsertionOptions
impl UnsafeUnpin for MelodicInsertionOptions
impl UnwindSafe for MelodicInsertionOptions
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