burn_multi_caps

Struct burn_multi_caps 

Source
#[repr(C)]
pub struct burn_multi_caps {
Show 14 fields pub multi_session: c_int, pub multi_track: c_int, pub start_adr: c_int, pub start_alignment: off_t, pub start_range_low: off_t, pub start_range_high: off_t, pub might_do_tao: c_int, pub might_do_sao: c_int, pub might_do_raw: c_int, pub advised_write_mode: burn_write_types, pub selected_write_mode: burn_write_types, pub current_profile: c_int, pub current_is_cd_profile: c_int, pub might_simulate: c_int,
}
Expand description

The reply structure for burn_disc_get_multi_caps()

Fields§

§multi_session: c_int§multi_track: c_int§start_adr: c_int§start_alignment: off_t

The alignment for start addresses. ( start_address % start_alignment ) must be 0.

§start_range_low: off_t

The lowest permissible start address.

§start_range_high: off_t

The highest addressable start address.

§might_do_tao: c_int

Potential availability of write modes 4= needs no size prediction, not to be chosen automatically 3= needs size prediction, not to be chosen automatically 2= available, no size prediction necessary 1= available, needs exact size prediction 0= not available With CD media (profiles 0x09 and 0x0a) check also the elements _block_types of the according write mode.

§might_do_sao: c_int§might_do_raw: c_int§advised_write_mode: burn_write_types

Generally advised write mode. Not necessarily the one chosen by burn_write_opts_auto_write_type() because the burn_disc structure might impose particular demands.

§selected_write_mode: burn_write_types

Write mode as given by parameter wt of burn_disc_get_multi_caps().

§current_profile: c_int

Profile number which was current when the reply was generated

§current_is_cd_profile: c_int

Whether the current profile indicates CD media. 1=yes, 0=no

§might_simulate: c_int

Whether the current profile is able to perform simulated write

Trait Implementations§

Source§

impl Clone for burn_multi_caps

Source§

fn clone(&self) -> burn_multi_caps

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for burn_multi_caps

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for burn_multi_caps

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.