pub struct TabPosition {
pub string: u8,
pub fret: u8,
}Expand description
A tablature string/fret position attached to a pitched note.
Fields§
§string: u8One-based string number, matching MusicXML <string>.
fret: u8Trait Implementations§
Source§impl Clone for TabPosition
impl Clone for TabPosition
Source§fn clone(&self) -> TabPosition
fn clone(&self) -> TabPosition
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 TabPosition
impl Debug for TabPosition
Source§impl<'de> Deserialize<'de> for TabPosition
impl<'de> Deserialize<'de> for TabPosition
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 TabPosition
Source§impl PartialEq for TabPosition
impl PartialEq for TabPosition
Source§impl Serialize for TabPosition
impl Serialize for TabPosition
impl StructuralPartialEq for TabPosition
Auto Trait Implementations§
impl Freeze for TabPosition
impl RefUnwindSafe for TabPosition
impl Send for TabPosition
impl Sync for TabPosition
impl Unpin for TabPosition
impl UnsafeUnpin for TabPosition
impl UnwindSafe for TabPosition
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