#[repr(C)]
pub struct sigar_proc_env_t { pub data: *mut c_void, pub type_: sigar_proc_env_t__bindgen_ty_1, pub key: *const c_char, pub klen: c_int, pub env_getter: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int, arg4: *mut c_char, arg5: c_int) -> c_int>, }

Fields§

§data: *mut c_void§type_: sigar_proc_env_t__bindgen_ty_1§key: *const c_char§klen: c_int§env_getter: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int, arg4: *mut c_char, arg5: c_int) -> c_int>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.