Type Alias GDriveIface
Source pub type GDriveIface = _GDriveIface;
#[repr(C)]
pub struct GDriveIface {Show 33 fields
pub g_iface: _GTypeInterface,
pub changed: Option<unsafe extern "C" fn(*mut _GDrive)>,
pub disconnected: Option<unsafe extern "C" fn(*mut _GDrive)>,
pub eject_button: Option<unsafe extern "C" fn(*mut _GDrive)>,
pub get_name: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut i8>,
pub get_icon: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GIcon>,
pub has_volumes: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub get_volumes: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GList>,
pub is_media_removable: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub has_media: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub can_eject: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub can_poll_for_media: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub eject: Option<unsafe extern "C" fn(*mut _GDrive, 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 _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub poll_for_media: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub poll_for_media_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub get_identifier: Option<unsafe extern "C" fn(*mut _GDrive, *const i8) -> *mut i8>,
pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut *mut i8>,
pub get_start_stop_type: Option<unsafe extern "C" fn(*mut _GDrive) -> GDriveStartStopType>,
pub can_start: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub can_start_degraded: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub start: Option<unsafe extern "C" fn(*mut _GDrive, GDriveStartFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub start_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub can_stop: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
pub stop: Option<unsafe extern "C" fn(*mut _GDrive, GMountUnmountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>,
pub stop_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub stop_button: Option<unsafe extern "C" fn(*mut _GDrive)>,
pub eject_with_operation: Option<unsafe extern "C" fn(*mut _GDrive, 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 _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>,
pub get_sort_key: Option<unsafe extern "C" fn(*mut _GDrive) -> *const i8>,
pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GIcon>,
pub is_removable: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>,
}