#[repr(C)]pub struct mmc_subchannel_s {
pub reserved: u8,
pub audio_status: u8,
pub data_length: u16,
pub format: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub track: u8,
pub index: u8,
pub abs_addr: [u8; 4],
pub rel_addr: [u8; 4],
}Fields§
§reserved: u8§audio_status: u8§data_length: u16§format: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§track: u8§index: u8§abs_addr: [u8; 4]§rel_addr: [u8; 4]Implementations§
Source§impl mmc_subchannel_s
impl mmc_subchannel_s
pub fn address(&self) -> u8
pub fn set_address(&mut self, val: u8)
pub unsafe fn address_raw(this: *const Self) -> u8
pub unsafe fn set_address_raw(this: *mut Self, val: u8)
pub fn control(&self) -> u8
pub fn set_control(&mut self, val: u8)
pub unsafe fn control_raw(this: *const Self) -> u8
pub unsafe fn set_control_raw(this: *mut Self, val: u8)
pub fn new_bitfield_1( address: u8, control: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for mmc_subchannel_s
impl Clone for mmc_subchannel_s
Source§fn clone(&self) -> mmc_subchannel_s
fn clone(&self) -> mmc_subchannel_s
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 mmc_subchannel_s
impl Debug for mmc_subchannel_s
impl Copy for mmc_subchannel_s
Auto Trait Implementations§
impl Freeze for mmc_subchannel_s
impl RefUnwindSafe for mmc_subchannel_s
impl Send for mmc_subchannel_s
impl Sync for mmc_subchannel_s
impl Unpin for mmc_subchannel_s
impl UnwindSafe for mmc_subchannel_s
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