[][src]Struct libcdio_sys::mmc_subchannel_s

#[repr(C)]
pub struct mmc_subchannel_s { pub reserved: u8, pub audio_status: u8, pub data_length: u16, pub format: u8, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub track: u8, pub index: u8, pub abs_addr: [u8; 4], pub rel_addr: [u8; 4], }

Fields

reserved: u8audio_status: u8data_length: u16format: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>track: u8index: u8abs_addr: [u8; 4]rel_addr: [u8; 4]

Methods

impl mmc_subchannel_s[src]

pub fn address(&self) -> u8[src]

pub fn set_address(&mut self, val: u8)[src]

pub fn control(&self) -> u8[src]

pub fn set_control(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    address: u8,
    control: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Copy for mmc_subchannel_s[src]

impl Clone for mmc_subchannel_s[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]