#[repr(C)]pub struct burn_drive_info {
pub vendor: [c_char; 9],
pub product: [c_char; 17],
pub revision: [c_char; 5],
pub location: [c_char; 17],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub buffer_size: c_int,
pub tao_block_types: c_int,
pub sao_block_types: c_int,
pub raw_block_types: c_int,
pub packet_block_types: c_int,
pub drive: *mut burn_drive,
}Expand description
Information on a drive in the system
Fields§
§vendor: [c_char; 9]Name of the vendor of the drive
product: [c_char; 17]Name of the drive
revision: [c_char; 5]Revision of the drive
location: [c_char; 17]Invalid: Was: "Location of the drive in the filesystem." / /* This string has no meaning any more. Once it stored the drive device file address. Now always use function burn_drive_d_get_adr() to inquire a device file address. ^^^^^ ALWAYS ^^^^^^^
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§buffer_size: c_intDEPRECATED: The size of the drive’s buffer (in kilobytes)
tao_block_types: c_intThe supported block types in tao mode. They should be tested with the desired block type. See also burn_block_types.
sao_block_types: c_intThe supported block types in sao mode. They should be tested with the desired block type. See also burn_block_types.
raw_block_types: c_intThe supported block types in raw mode. They should be tested with the desired block type. See also burn_block_types.
packet_block_types: c_intThe supported block types in packet mode. They should be tested with the desired block type. See also burn_block_types.
drive: *mut burn_driveThe value by which this drive can be indexed when using functions in the library. This is the value to pass to all libbburn functions that operate on a drive.
Implementations§
Source§impl burn_drive_info
impl burn_drive_info
pub fn read_dvdram(&self) -> c_uint
pub fn set_read_dvdram(&mut self, val: c_uint)
pub unsafe fn read_dvdram_raw(this: *const Self) -> c_uint
pub unsafe fn set_read_dvdram_raw(this: *mut Self, val: c_uint)
pub fn read_dvdr(&self) -> c_uint
pub fn set_read_dvdr(&mut self, val: c_uint)
pub unsafe fn read_dvdr_raw(this: *const Self) -> c_uint
pub unsafe fn set_read_dvdr_raw(this: *mut Self, val: c_uint)
pub fn read_dvdrom(&self) -> c_uint
pub fn set_read_dvdrom(&mut self, val: c_uint)
pub unsafe fn read_dvdrom_raw(this: *const Self) -> c_uint
pub unsafe fn set_read_dvdrom_raw(this: *mut Self, val: c_uint)
pub fn read_cdr(&self) -> c_uint
pub fn set_read_cdr(&mut self, val: c_uint)
pub unsafe fn read_cdr_raw(this: *const Self) -> c_uint
pub unsafe fn set_read_cdr_raw(this: *mut Self, val: c_uint)
pub fn read_cdrw(&self) -> c_uint
pub fn set_read_cdrw(&mut self, val: c_uint)
pub unsafe fn read_cdrw_raw(this: *const Self) -> c_uint
pub unsafe fn set_read_cdrw_raw(this: *mut Self, val: c_uint)
pub fn write_dvdram(&self) -> c_uint
pub fn set_write_dvdram(&mut self, val: c_uint)
pub unsafe fn write_dvdram_raw(this: *const Self) -> c_uint
pub unsafe fn set_write_dvdram_raw(this: *mut Self, val: c_uint)
pub fn write_dvdr(&self) -> c_uint
pub fn set_write_dvdr(&mut self, val: c_uint)
pub unsafe fn write_dvdr_raw(this: *const Self) -> c_uint
pub unsafe fn set_write_dvdr_raw(this: *mut Self, val: c_uint)
pub fn write_cdr(&self) -> c_uint
pub fn set_write_cdr(&mut self, val: c_uint)
pub unsafe fn write_cdr_raw(this: *const Self) -> c_uint
pub unsafe fn set_write_cdr_raw(this: *mut Self, val: c_uint)
pub fn write_cdrw(&self) -> c_uint
pub fn set_write_cdrw(&mut self, val: c_uint)
pub unsafe fn write_cdrw_raw(this: *const Self) -> c_uint
pub unsafe fn set_write_cdrw_raw(this: *mut Self, val: c_uint)
pub fn write_simulate(&self) -> c_uint
pub fn set_write_simulate(&mut self, val: c_uint)
pub unsafe fn write_simulate_raw(this: *const Self) -> c_uint
pub unsafe fn set_write_simulate_raw(this: *mut Self, val: c_uint)
pub fn c2_errors(&self) -> c_uint
pub fn set_c2_errors(&mut self, val: c_uint)
pub unsafe fn c2_errors_raw(this: *const Self) -> c_uint
pub unsafe fn set_c2_errors_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( read_dvdram: c_uint, read_dvdr: c_uint, read_dvdrom: c_uint, read_cdr: c_uint, read_cdrw: c_uint, write_dvdram: c_uint, write_dvdr: c_uint, write_cdr: c_uint, write_cdrw: c_uint, write_simulate: c_uint, c2_errors: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for burn_drive_info
impl Clone for burn_drive_info
Source§fn clone(&self) -> burn_drive_info
fn clone(&self) -> burn_drive_info
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more