pub struct TablaturePerformanceEvent {
pub playback: PlaybackEvent,
pub string: u8,
pub fret: u8,
pub technique: Option<GuitarTechnique>,
pub bend_alter_cents: Option<i16>,
pub bend_curve: Vec<GuitarBendPoint>,
pub expected_pitch_midi_cents: i32,
pub pitch_error_cents: i32,
}Fields§
§playback: PlaybackEvent§string: u8§fret: u8§technique: Option<GuitarTechnique>Authored guitar technique for the host playback adapter, when present.
bend_alter_cents: Option<i16>Authored bend alteration in cents, when the technique is Bend.
bend_curve: Vec<GuitarBendPoint>Normalized bend/hold/release curve for a bend-capable host. Positions are per-mille of this event’s sounding duration and values are cents relative to the written pitch.
expected_pitch_midi_cents: i32§pitch_error_cents: i32Trait Implementations§
Source§impl Clone for TablaturePerformanceEvent
impl Clone for TablaturePerformanceEvent
Source§impl Debug for TablaturePerformanceEvent
impl Debug for TablaturePerformanceEvent
Source§impl<'de> Deserialize<'de> for TablaturePerformanceEvent
impl<'de> Deserialize<'de> for TablaturePerformanceEvent
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 StructuralPartialEq for TablaturePerformanceEvent
Auto Trait Implementations§
impl Freeze for TablaturePerformanceEvent
impl RefUnwindSafe for TablaturePerformanceEvent
impl Send for TablaturePerformanceEvent
impl Sync for TablaturePerformanceEvent
impl Unpin for TablaturePerformanceEvent
impl UnsafeUnpin for TablaturePerformanceEvent
impl UnwindSafe for TablaturePerformanceEvent
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