#[repr(C)]pub struct option {
pub name: *const c_char,
pub has_arg: c_int,
pub flag: *mut c_int,
pub val: c_int,
}Expand description
@brief ::getopt_long option
Fields§
§name: *const c_char< option long name
has_arg: c_int< flag indicating whether the option has no, required or optional argument
flag: *mut c_int< pointer to a variable to set (if @c NULL, the value is returned instead)
val: c_int< value to set or to return
Trait Implementations§
Auto Trait Implementations§
impl Freeze for option
impl RefUnwindSafe for option
impl !Send for option
impl !Sync for option
impl Unpin for option
impl UnwindSafe for option
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more