Struct gio_sys::GDriveIface [] [src]

pub struct GDriveIface {
    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) -> *const c_char>,
    pub get_icon: Option<unsafe extern "C" fn(_: *mut GDrive) -> *mut GIcon>,
    pub has_volumes: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub get_volumes: Option<unsafe extern "C" fn(_: *mut GDrive) -> *mut GList>,
    pub is_media_removable: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub has_media: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub is_media_check_automatic: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub can_eject: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub can_poll_for_media: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub eject: Option<unsafe extern "C" fn(_: *mut GDrive, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub eject_finish: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub poll_for_media: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub poll_for_media_finish: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub get_identifier: Option<unsafe extern "C" fn(_: *mut GDrive, _: *const c_char) -> *mut c_char>,
    pub enumerate_identifiers: Option<unsafe extern "C" fn(_: *mut GDrive) -> *mut *mut c_char>,
    pub get_start_stop_type: Option<unsafe extern "C" fn(_: *mut GDrive) -> GDriveStartStopType>,
    pub can_start: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub can_start_degraded: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub start: Option<unsafe extern "C" fn(_: *mut GDrive, _: GDriveStartFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub start_finish: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub can_stop: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
    pub stop: Option<unsafe extern "C" fn(_: *mut GDrive, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub stop_finish: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    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, _: GAsyncReadyCallback, _: gpointer)>,
    pub eject_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GDrive, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub get_sort_key: Option<unsafe extern "C" fn(_: *mut GDrive) -> *const c_char>,
    pub get_symbolic_icon: Option<unsafe extern "C" fn(_: *mut GDrive) -> *mut GIcon>,
    pub is_removable: Option<unsafe extern "C" fn(_: *mut GDrive) -> gboolean>,
}

Fields