esp_idf_sys

Type Alias arg_hdr_t

Source
pub type arg_hdr_t = arg_hdr;

Aliased Type§

struct arg_hdr_t {
Show 13 fields pub flag: i8, pub shortopts: *const i8, pub longopts: *const i8, pub datatype: *const i8, pub glossary: *const i8, pub mincount: i32, pub maxcount: i32, pub parent: *mut c_void, pub resetfn: Option<unsafe extern "C" fn(_: *mut c_void)>, pub scanfn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8) -> i32>, pub checkfn: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, pub errorfn: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut _internal_arg_dstr, _: i32, _: *const i8, _: *const i8)>, pub priv_: *mut c_void,
}

Fields§

§flag: i8§shortopts: *const i8§longopts: *const i8§datatype: *const i8§glossary: *const i8§mincount: i32§maxcount: i32§parent: *mut c_void§resetfn: Option<unsafe extern "C" fn(_: *mut c_void)>§scanfn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8) -> i32>§checkfn: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>§errorfn: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut _internal_arg_dstr, _: i32, _: *const i8, _: *const i8)>§priv_: *mut c_void

Trait Implementations

Source§

impl Clone for arg_hdr

Source§

fn clone(&self) -> arg_hdr

Returns a copy of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for arg_hdr

Source§

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

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

impl Default for arg_hdr

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for arg_hdr