#[repr(C, packed(1))]pub struct _snd_ump_msg_midi2_cc {
pub reserved: u8,
pub index: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub data: u32,
}Fields§
§reserved: u8§index: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§data: u32Implementations§
Source§impl _snd_ump_msg_midi2_cc
impl _snd_ump_msg_midi2_cc
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_cc
impl Clone for _snd_ump_msg_midi2_cc
Source§fn clone(&self) -> _snd_ump_msg_midi2_cc
fn clone(&self) -> _snd_ump_msg_midi2_cc
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_cc
impl Debug for _snd_ump_msg_midi2_cc
impl Copy for _snd_ump_msg_midi2_cc
Auto Trait Implementations§
impl Freeze for _snd_ump_msg_midi2_cc
impl RefUnwindSafe for _snd_ump_msg_midi2_cc
impl Send for _snd_ump_msg_midi2_cc
impl Sync for _snd_ump_msg_midi2_cc
impl Unpin for _snd_ump_msg_midi2_cc
impl UnwindSafe for _snd_ump_msg_midi2_cc
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