pub struct SetStemCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice_index: usize,
pub note_index: usize,
pub stem_up: Option<bool>,
}Expand description
Set or clear the stem direction on a note (override). None means auto.
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice_index: usize§note_index: usize§stem_up: Option<bool>None = auto, Some(true) = stem up, Some(false) = stem down.
Trait Implementations§
Source§impl Clone for SetStemCmd
impl Clone for SetStemCmd
Source§fn clone(&self) -> SetStemCmd
fn clone(&self) -> SetStemCmd
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 SetStemCmd
impl Debug for SetStemCmd
Source§impl<'de> Deserialize<'de> for SetStemCmd
impl<'de> Deserialize<'de> for SetStemCmd
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 SetStemCmd
impl RefUnwindSafe for SetStemCmd
impl Send for SetStemCmd
impl Sync for SetStemCmd
impl Unpin for SetStemCmd
impl UnsafeUnpin for SetStemCmd
impl UnwindSafe for SetStemCmd
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