pub struct SetNotePlacementCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice: usize,
pub note_index: usize,
pub offset_x: Option<f64>,
pub offset_y: Option<f64>,
pub relative_x: Option<f64>,
pub relative_y: Option<f64>,
}Expand description
Set or clear MusicXML-compatible note placement offsets in tenths.
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice: usize§note_index: usize§offset_x: Option<f64>§offset_y: Option<f64>§relative_x: Option<f64>§relative_y: Option<f64>Trait Implementations§
Source§impl Clone for SetNotePlacementCmd
impl Clone for SetNotePlacementCmd
Source§impl Debug for SetNotePlacementCmd
impl Debug for SetNotePlacementCmd
Source§impl<'de> Deserialize<'de> for SetNotePlacementCmd
impl<'de> Deserialize<'de> for SetNotePlacementCmd
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 SetNotePlacementCmd
impl RefUnwindSafe for SetNotePlacementCmd
impl Send for SetNotePlacementCmd
impl Sync for SetNotePlacementCmd
impl Unpin for SetNotePlacementCmd
impl UnsafeUnpin for SetNotePlacementCmd
impl UnwindSafe for SetNotePlacementCmd
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