#[repr(C, packed(1))]pub struct _snd_ump_msg_set_tempo {
pub status: u8,
pub status_bank: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub tempo: u32,
pub reserved: [u32; 2],
}Fields§
§status: u8§status_bank: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§tempo: u32§reserved: [u32; 2]Implementations§
Source§impl _snd_ump_msg_set_tempo
impl _snd_ump_msg_set_tempo
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 addrs(&self) -> u8
pub fn set_addrs(&mut self, val: u8)
pub unsafe fn addrs_raw(this: *const Self) -> u8
pub unsafe fn set_addrs_raw(this: *mut Self, val: u8)
pub fn format(&self) -> u8
pub fn set_format(&mut self, val: u8)
pub unsafe fn format_raw(this: *const Self) -> u8
pub unsafe fn set_format_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, addrs: u8, format: u8, group: u8, type_: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for _snd_ump_msg_set_tempo
impl Clone for _snd_ump_msg_set_tempo
Source§fn clone(&self) -> _snd_ump_msg_set_tempo
fn clone(&self) -> _snd_ump_msg_set_tempo
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_set_tempo
impl Debug for _snd_ump_msg_set_tempo
impl Copy for _snd_ump_msg_set_tempo
Auto Trait Implementations§
impl Freeze for _snd_ump_msg_set_tempo
impl RefUnwindSafe for _snd_ump_msg_set_tempo
impl Send for _snd_ump_msg_set_tempo
impl Sync for _snd_ump_msg_set_tempo
impl Unpin for _snd_ump_msg_set_tempo
impl UnwindSafe for _snd_ump_msg_set_tempo
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