Struct fio_ioengine_sys::fio_option[][src]

#[repr(C)]
pub struct fio_option {
Show fields pub name: *const c_char, pub lname: *const c_char, pub alias: *const c_char, pub type_: fio_opt_type, pub off1: c_uint, pub off2: c_uint, pub off3: c_uint, pub off4: c_uint, pub off5: c_uint, pub off6: c_uint, pub maxval: c_ulonglong, pub minval: c_int, pub maxfp: f64, pub minfp: f64, pub interval: c_uint, pub maxlen: c_uint, pub neg: c_int, pub prio: c_int, pub cb: *mut c_void, pub help: *const c_char, pub def: *const c_char, pub posval: [value_pair; 32], pub parent: *const c_char, pub hide: c_int, pub hide_on_set: c_int, pub inverse: *const c_char, pub inv_opt: *mut fio_option, pub verify: Option<unsafe extern "C" fn(arg1: *const fio_option, arg2: *mut c_void) -> c_int>, pub prof_name: *const c_char, pub prof_opts: *mut c_void, pub category: u64, pub group: u64, pub gui_data: *mut c_void, pub is_seconds: c_int, pub is_time: c_int, pub no_warn_def: c_int, pub pow2: c_int, pub no_free: c_int,
}

Fields

name: *const c_charlname: *const c_charalias: *const c_chartype_: fio_opt_typeoff1: c_uintoff2: c_uintoff3: c_uintoff4: c_uintoff5: c_uintoff6: c_uintmaxval: c_ulonglongminval: c_intmaxfp: f64minfp: f64interval: c_uintmaxlen: c_uintneg: c_intprio: c_intcb: *mut c_voidhelp: *const c_chardef: *const c_charposval: [value_pair; 32]parent: *const c_charhide: c_inthide_on_set: c_intinverse: *const c_charinv_opt: *mut fio_optionverify: Option<unsafe extern "C" fn(arg1: *const fio_option, arg2: *mut c_void) -> c_int>prof_name: *const c_charprof_opts: *mut c_voidcategory: u64group: u64gui_data: *mut c_voidis_seconds: c_intis_time: c_intno_warn_def: c_intpow2: c_intno_free: c_int

Trait Implementations

impl Clone for fio_option[src]

fn clone(&self) -> fio_option[src]

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for fio_option[src]

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

Formats the value using the given formatter. Read more

impl Copy for fio_option[src]

Auto Trait Implementations

impl !Send for fio_option

impl !Sync for fio_option

impl Unpin for fio_option

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

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

Performs the conversion.