Struct alsa_sys::snd_seq_ev_note
source · #[repr(C)]pub struct snd_seq_ev_note {
pub channel: c_uchar,
pub note: c_uchar,
pub velocity: c_uchar,
pub off_velocity: c_uchar,
pub duration: c_uint,
}
Expand description
Note event
Fields§
§channel: c_uchar
< channel number
note: c_uchar
< note
velocity: c_uchar
< velocity
off_velocity: c_uchar
< note-off velocity; only for #SND_SEQ_EVENT_NOTE
duration: c_uint
< 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 moresource§impl Debug for snd_seq_ev_note
impl Debug for snd_seq_ev_note
impl Copy for snd_seq_ev_note
Auto Trait Implementations§
impl RefUnwindSafe for snd_seq_ev_note
impl Send for snd_seq_ev_note
impl Sync for snd_seq_ev_note
impl Unpin for snd_seq_ev_note
impl UnwindSafe for snd_seq_ev_note
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