pub struct TablatureConfig {
pub lines: u8,
pub tuning_midi: Vec<i16>,
pub capo: u8,
}Expand description
Tablature staff metadata. Tuning MIDI values are ordered by string number.
Fields§
§lines: u8§tuning_midi: Vec<i16>§capo: u8Trait Implementations§
Source§impl Clone for TablatureConfig
impl Clone for TablatureConfig
Source§fn clone(&self) -> TablatureConfig
fn clone(&self) -> TablatureConfig
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 TablatureConfig
impl Debug for TablatureConfig
Source§impl<'de> Deserialize<'de> for TablatureConfig
impl<'de> Deserialize<'de> for TablatureConfig
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
impl Eq for TablatureConfig
Source§impl PartialEq for TablatureConfig
impl PartialEq for TablatureConfig
Source§impl Serialize for TablatureConfig
impl Serialize for TablatureConfig
impl StructuralPartialEq for TablatureConfig
Auto Trait Implementations§
impl Freeze for TablatureConfig
impl RefUnwindSafe for TablatureConfig
impl Send for TablatureConfig
impl Sync for TablatureConfig
impl Unpin for TablatureConfig
impl UnsafeUnpin for TablatureConfig
impl UnwindSafe for TablatureConfig
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