#[repr(C)]pub struct glob_t {
pub gl_pathc: __size_t,
pub gl_pathv: *mut *mut c_char,
pub gl_offs: __size_t,
pub gl_flags: c_int,
pub gl_closedir: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub gl_readdir: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *mut c_void>,
pub gl_opendir: Option<unsafe extern "C" fn(arg1: *const c_char) -> *mut c_void>,
pub gl_lstat: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void) -> c_int>,
pub gl_stat: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void) -> c_int>,
}
Fields§
§gl_pathc: __size_t
§gl_pathv: *mut *mut c_char
§gl_offs: __size_t
§gl_flags: c_int
§gl_closedir: Option<unsafe extern "C" fn(arg1: *mut c_void)>
§gl_readdir: Option<unsafe extern "C" fn(arg1: *mut c_void) -> *mut c_void>
§gl_opendir: Option<unsafe extern "C" fn(arg1: *const c_char) -> *mut c_void>
§gl_lstat: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void) -> c_int>
§gl_stat: Option<unsafe extern "C" fn(arg1: *const c_char, arg2: *mut c_void) -> c_int>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for glob_t
impl RefUnwindSafe for glob_t
impl !Send for glob_t
impl !Sync for glob_t
impl Unpin for glob_t
impl UnwindSafe for glob_t
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