#[repr(C)]pub struct glob_t {
pub gl_pathc: u64,
pub gl_pathv: *mut *mut i8,
pub gl_offs: u64,
pub gl_flags: i32,
pub gl_closedir: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub gl_readdir: Option<unsafe extern "C" fn(_: *mut c_void) -> *mut dirent>,
pub gl_opendir: Option<unsafe extern "C" fn(_: *const i8) -> *mut c_void>,
pub gl_lstat: Option<unsafe extern "C" fn(_: *const i8, _: *mut stat) -> i32>,
pub gl_stat: Option<unsafe extern "C" fn(_: *const i8, _: *mut stat) -> i32>,
}
Fields§
§gl_pathc: u64
§gl_pathv: *mut *mut i8
§gl_offs: u64
§gl_flags: i32
§gl_closedir: Option<unsafe extern "C" fn(_: *mut c_void)>
§gl_readdir: Option<unsafe extern "C" fn(_: *mut c_void) -> *mut dirent>
§gl_opendir: Option<unsafe extern "C" fn(_: *const i8) -> *mut c_void>
§gl_lstat: Option<unsafe extern "C" fn(_: *const i8, _: *mut stat) -> i32>
§gl_stat: Option<unsafe extern "C" fn(_: *const i8, _: *mut stat) -> i32>
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