GDriveIface

Type Alias GDriveIface 

Source
pub type GDriveIface = _GDriveIface;

Aliased Type§

#[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>,
}

Fields§

§g_iface: _GTypeInterface§changed: Option<unsafe extern "C" fn(*mut _GDrive)>§disconnected: Option<unsafe extern "C" fn(*mut _GDrive)>§eject_button: Option<unsafe extern "C" fn(*mut _GDrive)>§get_name: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut i8>§get_icon: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GIcon>§has_volumes: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§get_volumes: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GList>§is_media_removable: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§has_media: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§is_media_check_automatic: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§can_eject: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§can_poll_for_media: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§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)>§eject_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>§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)>§poll_for_media_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>§get_identifier: Option<unsafe extern "C" fn(*mut _GDrive, *const i8) -> *mut i8>§enumerate_identifiers: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut *mut i8>§get_start_stop_type: Option<unsafe extern "C" fn(*mut _GDrive) -> GDriveStartStopType>§can_start: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§can_start_degraded: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§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)>§start_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>§can_stop: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>§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)>§stop_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>§stop_button: Option<unsafe extern "C" fn(*mut _GDrive)>§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)>§eject_with_operation_finish: Option<unsafe extern "C" fn(*mut _GDrive, *mut _GAsyncResult, *mut *mut _GError) -> i32>§get_sort_key: Option<unsafe extern "C" fn(*mut _GDrive) -> *const i8>§get_symbolic_icon: Option<unsafe extern "C" fn(*mut _GDrive) -> *mut _GIcon>§is_removable: Option<unsafe extern "C" fn(*mut _GDrive) -> i32>