pub enum FrettedEntry6 {
Pick(Pick, Duration),
Strum(Strum, Duration),
Shape(HandShape6, Duration),
Fretboard(Fretboard6),
}
Variants§
Implementations§
source§impl FrettedEntry6
impl FrettedEntry6
source§impl FrettedEntry6
impl FrettedEntry6
sourcepub fn is_fretboard(&self) -> bool
pub fn is_fretboard(&self) -> bool
Returns true
if the fretted_entry is [Fretboard
].
source§impl FrettedEntry6
impl FrettedEntry6
Trait Implementations§
source§impl Clone for FrettedEntry6
impl Clone for FrettedEntry6
source§fn clone(&self) -> FrettedEntry6
fn clone(&self) -> FrettedEntry6
Returns a copy of the value. Read more
1.0.0 · 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 FrettedEntry6
impl Debug for FrettedEntry6
source§impl<'de> Deserialize<'de> for FrettedEntry6
impl<'de> Deserialize<'de> for FrettedEntry6
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
source§impl Display for FrettedEntry6
impl Display for FrettedEntry6
source§impl Entry for FrettedEntry6
impl Entry for FrettedEntry6
fn duration(&self) -> Duration
fn pass_mode(&self) -> EntryPassMode
fn prev_is_tie(&self) -> bool
fn next_is_tie(&self) -> bool
fn tied_units(&self) -> Units
source§impl From<(HandShape6, Duration)> for FrettedEntry6
impl From<(HandShape6, Duration)> for FrettedEntry6
source§fn from(v: (HandShape6, Duration)) -> Self
fn from(v: (HandShape6, Duration)) -> Self
Converts to this type from the input type.
source§impl From<Fretboard6> for FrettedEntry6
impl From<Fretboard6> for FrettedEntry6
source§fn from(v: Fretboard6) -> Self
fn from(v: Fretboard6) -> Self
Converts to this type from the input type.
source§impl PartialEq<FrettedEntry6> for FrettedEntry6
impl PartialEq<FrettedEntry6> for FrettedEntry6
source§fn eq(&self, other: &FrettedEntry6) -> bool
fn eq(&self, other: &FrettedEntry6) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.