#[repr(C)]pub struct _snd_ump_msg_mixed_data_header {
pub bytes: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub chunk: u16,
pub chunks: u16,
pub device: u16,
pub manufacturer: u16,
pub sub_id_2: u16,
pub sub_id_1: u16,
}Fields§
§bytes: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§chunk: u16§chunks: u16§device: u16§manufacturer: u16§sub_id_2: u16§sub_id_1: u16Implementations§
Source§impl _snd_ump_msg_mixed_data_header
impl _snd_ump_msg_mixed_data_header
pub fn mds_id(&self) -> u8
pub fn set_mds_id(&mut self, val: u8)
pub unsafe fn mds_id_raw(this: *const Self) -> u8
pub unsafe fn set_mds_id_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( mds_id: u8, status: u8, group: u8, type_: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for _snd_ump_msg_mixed_data_header
impl Clone for _snd_ump_msg_mixed_data_header
Source§fn clone(&self) -> _snd_ump_msg_mixed_data_header
fn clone(&self) -> _snd_ump_msg_mixed_data_header
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 moreimpl Copy for _snd_ump_msg_mixed_data_header
Auto Trait Implementations§
impl Freeze for _snd_ump_msg_mixed_data_header
impl RefUnwindSafe for _snd_ump_msg_mixed_data_header
impl Send for _snd_ump_msg_mixed_data_header
impl Sync for _snd_ump_msg_mixed_data_header
impl Unpin for _snd_ump_msg_mixed_data_header
impl UnwindSafe for _snd_ump_msg_mixed_data_header
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