pub struct NoteEchoTrace {
pub source_index: usize,
pub repeat: u8,
pub time: TickTime,
pub key: U7,
pub velocity: U7,
pub channel: Channel,
}Expand description
A record of a single emitted echo, linking it back to its source note.
Fields§
§source_index: usizeIndex of the source note in the input slice.
repeat: u8Which repeat (1-based) produced this echo.
time: TickTimeTime of the echoed note-on.
key: U7Echoed note number.
velocity: U7Echoed velocity.
channel: ChannelEchoed channel.
Trait Implementations§
Source§impl Clone for NoteEchoTrace
impl Clone for NoteEchoTrace
Source§fn clone(&self) -> NoteEchoTrace
fn clone(&self) -> NoteEchoTrace
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 NoteEchoTrace
impl Debug for NoteEchoTrace
impl Eq for NoteEchoTrace
Source§impl PartialEq for NoteEchoTrace
impl PartialEq for NoteEchoTrace
Source§fn eq(&self, other: &NoteEchoTrace) -> bool
fn eq(&self, other: &NoteEchoTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NoteEchoTrace
Auto Trait Implementations§
impl Freeze for NoteEchoTrace
impl RefUnwindSafe for NoteEchoTrace
impl Send for NoteEchoTrace
impl Sync for NoteEchoTrace
impl Unpin for NoteEchoTrace
impl UnsafeUnpin for NoteEchoTrace
impl UnwindSafe for NoteEchoTrace
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