pub struct SetTabPositionCmd {
pub part_index: usize,
pub staff_index: usize,
pub measure_index: usize,
pub voice: usize,
pub note_index: usize,
pub position: Option<TabPosition>,
}Expand description
Set (or clear) the tablature string/fret position on a note.
Fields§
§part_index: usize§staff_index: usize§measure_index: usize§voice: usize§note_index: usize§position: Option<TabPosition>None clears the explicit tablature position.
Trait Implementations§
Source§impl Clone for SetTabPositionCmd
impl Clone for SetTabPositionCmd
Source§fn clone(&self) -> SetTabPositionCmd
fn clone(&self) -> SetTabPositionCmd
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 SetTabPositionCmd
impl Debug for SetTabPositionCmd
Source§impl<'de> Deserialize<'de> for SetTabPositionCmd
impl<'de> Deserialize<'de> for SetTabPositionCmd
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 SetTabPositionCmd
impl RefUnwindSafe for SetTabPositionCmd
impl Send for SetTabPositionCmd
impl Sync for SetTabPositionCmd
impl Unpin for SetTabPositionCmd
impl UnsafeUnpin for SetTabPositionCmd
impl UnwindSafe for SetTabPositionCmd
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