#[repr(C)]pub struct cdio_subchannel_s {
pub format: u8,
pub audio_status: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub track: u8,
pub index: u8,
pub abs_addr: msf_t,
pub rel_addr: msf_t,
}Fields§
§format: u8§audio_status: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§track: u8§index: u8§abs_addr: msf_t§rel_addr: msf_tImplementations§
Source§impl cdio_subchannel_s
impl cdio_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 cdio_subchannel_s
impl Clone for cdio_subchannel_s
Source§fn clone(&self) -> cdio_subchannel_s
fn clone(&self) -> cdio_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 moreSource§impl Debug for cdio_subchannel_s
impl Debug for cdio_subchannel_s
impl Copy for cdio_subchannel_s
Auto Trait Implementations§
impl Freeze for cdio_subchannel_s
impl RefUnwindSafe for cdio_subchannel_s
impl Send for cdio_subchannel_s
impl Sync for cdio_subchannel_s
impl Unpin for cdio_subchannel_s
impl UnwindSafe for cdio_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