Struct libcdio_sys::cdio_subchannel_s
source · #[repr(C)]pub struct cdio_subchannel_s {
pub format: u8,
pub audio_status: u8,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub track: u8,
pub index: u8,
pub abs_addr: msf_t,
pub rel_addr: msf_t,
}Fields
format: u8audio_status: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>track: u8index: u8abs_addr: msf_trel_addr: msf_tImplementations
sourceimpl cdio_subchannel_s
impl cdio_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], u8>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more