#[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 Freeze for snd_seq_ev_note
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)