Type Alias GMountIface
Source pub type GMountIface = _GMountIface;
#[repr(C)]
pub struct GMountIface {Show 28 fields
pub g_iface: _GTypeInterface,
pub changed: Option<unsafe extern "C" fn(*mut _GMount)>,
pub unmounted: Option<unsafe extern "C" fn(*mut _GMount)>,
pub get_root: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GFile>,
pub get_name: Option<unsafe extern "C" fn(*mut _GMount) -> *mut i8>,
pub get_icon: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GIcon>,
pub get_uuid: Option<unsafe extern "C" fn(*mut _GMount) -> *mut i8>,
pub get_volume: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GVolume>,
pub get_drive: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GDrive>,
pub can_unmount: Option<unsafe extern "C" fn(*mut _GMount) -> i32>,
pub can_eject: Option<unsafe extern "C" fn(*mut _GMount) -> i32>,
pub unmount: Option<unsafe extern "C" fn(*mut _GMount, GMountUnmountFlags, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub unmount_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub eject: Option<unsafe extern "C" fn(*mut _GMount, GMountUnmountFlags, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub eject_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub remount: Option<unsafe extern "C" fn(*mut _GMount, GMountMountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub remount_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub guess_content_type: Option<unsafe extern "C" fn(*mut _GMount, i32, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub guess_content_type_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> *mut *mut i8>,
pub guess_content_type_sync: Option<unsafe extern "C" fn(*mut _GMount, i32, *mut _GCancellable, *mut *mut _GError) -> *mut *mut i8>,
pub pre_unmount: Option<unsafe extern "C" fn(*mut _GMount)>,
pub unmount_with_operation: Option<unsafe extern "C" fn(*mut _GMount, GMountUnmountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub unmount_with_operation_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub eject_with_operation: Option<unsafe extern "C" fn(*mut _GMount, GMountUnmountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub eject_with_operation_finish: Option<unsafe extern "C" fn(*mut _GMount, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub get_default_location: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GFile>,
pub get_sort_key: Option<unsafe extern "C" fn(*mut _GMount) -> *const i8>,
pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut _GMount) -> *mut _GIcon>,
}