pub type GFileEnumeratorClass = _GFileEnumeratorClass;
Expand description
GFileEnumerator:
A per matched file iterator.
Aliased Type§
#[repr(C)]pub struct GFileEnumeratorClass {Show 14 fields
pub parent_class: _GObjectClass,
pub next_file: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GCancellable, *mut *mut _GError) -> *mut _GFileInfo>,
pub close_fn: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GCancellable, *mut *mut _GError) -> i32>,
pub next_files_async: Option<unsafe extern "C" fn(*mut _GFileEnumerator, i32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub next_files_finish: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GAsyncResult, *mut *mut _GError) -> *mut _GList>,
pub close_async: Option<unsafe extern "C" fn(*mut _GFileEnumerator, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub close_finish: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
pub _g_reserved6: Option<unsafe extern "C" fn()>,
pub _g_reserved7: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: _GObjectClass
§next_file: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GCancellable, *mut *mut _GError) -> *mut _GFileInfo>
§close_fn: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GCancellable, *mut *mut _GError) -> i32>
§next_files_async: Option<unsafe extern "C" fn(*mut _GFileEnumerator, i32, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>
§next_files_finish: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GAsyncResult, *mut *mut _GError) -> *mut _GList>
§close_async: Option<unsafe extern "C" fn(*mut _GFileEnumerator, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>
§close_finish: Option<unsafe extern "C" fn(*mut _GFileEnumerator, *mut _GAsyncResult, *mut *mut _GError) -> i32>
§_g_reserved1: Option<unsafe extern "C" fn()>
§_g_reserved2: Option<unsafe extern "C" fn()>
§_g_reserved3: Option<unsafe extern "C" fn()>
§_g_reserved4: Option<unsafe extern "C" fn()>
§_g_reserved5: Option<unsafe extern "C" fn()>
§_g_reserved6: Option<unsafe extern "C" fn()>
§_g_reserved7: Option<unsafe extern "C" fn()>
Trait Implementations
Source§impl Clone for _GFileEnumeratorClass
impl Clone for _GFileEnumeratorClass
Source§fn clone(&self) -> _GFileEnumeratorClass
fn clone(&self) -> _GFileEnumeratorClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more