Struct esp_idf_hal::sys::arg_hdr
source · #[repr(C)]pub struct arg_hdr {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§
impl Copy for arg_hdr
Auto Trait Implementations§
impl Freeze for arg_hdr
impl RefUnwindSafe for arg_hdr
impl !Send for arg_hdr
impl !Sync for arg_hdr
impl Unpin for arg_hdr
impl UnwindSafe for arg_hdr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)