Struct libcdio_sys::mmc_subchannel_s
source · #[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 fn control(&self) -> u8
pub fn set_control(&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 copy 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 more