pub type snd_seq_ev_note_t = snd_seq_ev_note;
Expand description
Note event
Aliased Type§
struct snd_seq_ev_note_t {
pub channel: u8,
pub note: u8,
pub velocity: u8,
pub off_velocity: u8,
pub duration: u32,
}
Fields§
§channel: u8
< channel number
note: u8
< note
velocity: u8
< velocity
off_velocity: u8
< note-off velocity; only for #SND_SEQ_EVENT_NOTE
duration: u32
< duration until note-off; only for #SND_SEQ_EVENT_NOTE
Trait Implementations
Source§impl Clone for snd_seq_ev_note
impl Clone for snd_seq_ev_note
Source§fn clone(&self) -> snd_seq_ev_note
fn clone(&self) -> snd_seq_ev_note
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 more