#[repr(C, packed(1))]pub struct _snd_ump_msg_midi2_note {
pub attr_type: u8,
pub note: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub attr_data: u16,
pub velocity: u16,
}Fields§
§attr_type: u8§note: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§attr_data: u16§velocity: u16Implementations§
Source§impl _snd_ump_msg_midi2_note
impl _snd_ump_msg_midi2_note
pub fn channel(&self) -> u8
pub fn set_channel(&mut self, val: u8)
pub unsafe fn channel_raw(this: *const Self) -> u8
pub unsafe fn set_channel_raw(this: *mut Self, val: u8)
pub fn status(&self) -> u8
pub fn set_status(&mut self, val: u8)
pub unsafe fn status_raw(this: *const Self) -> u8
pub unsafe fn set_status_raw(this: *mut Self, val: u8)
pub fn group(&self) -> u8
pub fn set_group(&mut self, val: u8)
pub unsafe fn group_raw(this: *const Self) -> u8
pub unsafe fn set_group_raw(this: *mut Self, val: u8)
pub fn type_(&self) -> u8
pub fn set_type(&mut self, val: u8)
pub unsafe fn type__raw(this: *const Self) -> u8
pub unsafe fn set_type_raw(this: *mut Self, val: u8)
pub fn new_bitfield_1( channel: u8, status: u8, group: u8, type_: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for _snd_ump_msg_midi2_note
impl Clone for _snd_ump_msg_midi2_note
Source§fn clone(&self) -> _snd_ump_msg_midi2_note
fn clone(&self) -> _snd_ump_msg_midi2_note
Returns a duplicate 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_ump_msg_midi2_note
impl Debug for _snd_ump_msg_midi2_note
impl Copy for _snd_ump_msg_midi2_note
Auto Trait Implementations§
impl Freeze for _snd_ump_msg_midi2_note
impl RefUnwindSafe for _snd_ump_msg_midi2_note
impl Send for _snd_ump_msg_midi2_note
impl Sync for _snd_ump_msg_midi2_note
impl Unpin for _snd_ump_msg_midi2_note
impl UnwindSafe for _snd_ump_msg_midi2_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