Struct gio_sys::GVfsClass

source ·
#[repr(C)]
pub struct GVfsClass {
Show 18 fields pub parent_class: GObjectClass, pub is_active: Option<unsafe extern "C" fn(_: *mut GVfs) -> gboolean>, pub get_file_for_path: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>, pub get_file_for_uri: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>, pub get_supported_uri_schemes: Option<unsafe extern "C" fn(_: *mut GVfs) -> *const *const c_char>, pub parse_name: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>, pub local_file_add_info: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: u64, _: *mut GFileAttributeMatcher, _: *mut GFileInfo, _: *mut GCancellable, _: *mut gpointer, _: *mut GDestroyNotify)>, pub add_writable_namespaces: Option<unsafe extern "C" fn(_: *mut GVfs, _: *mut GFileAttributeInfoList)>, pub local_file_set_attributes: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>, pub local_file_removed: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char)>, pub local_file_moved: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: *const c_char)>, pub deserialize_icon: Option<unsafe extern "C" fn(_: *mut GVfs, _: *mut GVariant) -> *mut GIcon>, 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()>,
}

Fields

parent_class: GObjectClassis_active: Option<unsafe extern "C" fn(_: *mut GVfs) -> gboolean>get_file_for_path: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>get_file_for_uri: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>get_supported_uri_schemes: Option<unsafe extern "C" fn(_: *mut GVfs) -> *const *const c_char>parse_name: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char) -> *mut GFile>local_file_add_info: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: u64, _: *mut GFileAttributeMatcher, _: *mut GFileInfo, _: *mut GCancellable, _: *mut gpointer, _: *mut GDestroyNotify)>add_writable_namespaces: Option<unsafe extern "C" fn(_: *mut GVfs, _: *mut GFileAttributeInfoList)>local_file_set_attributes: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>local_file_removed: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char)>local_file_moved: Option<unsafe extern "C" fn(_: *mut GVfs, _: *const c_char, _: *const c_char)>deserialize_icon: Option<unsafe extern "C" fn(_: *mut GVfs, _: *mut GVariant) -> *mut GIcon>_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()>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.