Struct frida_sys::_GDriveIface[][src]

#[repr(C)]
pub struct _GDriveIface {
Show fields pub g_iface: GTypeInterface, pub changed: Option<unsafe extern "C" fn(drive: *mut GDrive)>, pub disconnected: Option<unsafe extern "C" fn(drive: *mut GDrive)>, pub eject_button: Option<unsafe extern "C" fn(drive: *mut GDrive)>, pub get_name: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut c_char>, pub get_icon: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>, pub has_volumes: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub get_volumes: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GList>, pub is_media_removable: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub has_media: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub is_media_check_automatic: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub can_eject: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub can_poll_for_media: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub eject: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>, pub eject_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>, pub poll_for_media: Option<unsafe extern "C" fn(drive: *mut GDrive, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>, pub poll_for_media_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>, pub get_identifier: Option<unsafe extern "C" fn(drive: *mut GDrive, kind: *const c_char) -> *mut c_char>, pub enumerate_identifiers: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut *mut c_char>, pub get_start_stop_type: Option<unsafe extern "C" fn(drive: *mut GDrive) -> GDriveStartStopType>, pub can_start: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub can_start_degraded: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub start: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GDriveStartFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>, pub start_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>, pub can_stop: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>, pub stop: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>, pub stop_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>, pub stop_button: Option<unsafe extern "C" fn(drive: *mut GDrive)>, pub eject_with_operation: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>, pub eject_with_operation_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>, pub get_sort_key: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *const gchar>, pub get_symbolic_icon: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>, pub is_removable: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>,
}

Fields

g_iface: GTypeInterfacechanged: Option<unsafe extern "C" fn(drive: *mut GDrive)>disconnected: Option<unsafe extern "C" fn(drive: *mut GDrive)>eject_button: Option<unsafe extern "C" fn(drive: *mut GDrive)>get_name: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut c_char>get_icon: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>has_volumes: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>get_volumes: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GList>is_media_removable: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>has_media: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>is_media_check_automatic: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>can_eject: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>can_poll_for_media: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>eject: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>eject_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>poll_for_media: Option<unsafe extern "C" fn(drive: *mut GDrive, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>poll_for_media_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>get_identifier: Option<unsafe extern "C" fn(drive: *mut GDrive, kind: *const c_char) -> *mut c_char>enumerate_identifiers: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut *mut c_char>get_start_stop_type: Option<unsafe extern "C" fn(drive: *mut GDrive) -> GDriveStartStopType>can_start: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>can_start_degraded: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>start: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GDriveStartFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>start_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>can_stop: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>stop: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>stop_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>stop_button: Option<unsafe extern "C" fn(drive: *mut GDrive)>eject_with_operation: Option<unsafe extern "C" fn(drive: *mut GDrive, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>eject_with_operation_finish: Option<unsafe extern "C" fn(drive: *mut GDrive, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>get_sort_key: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *const gchar>get_symbolic_icon: Option<unsafe extern "C" fn(drive: *mut GDrive) -> *mut GIcon>is_removable: Option<unsafe extern "C" fn(drive: *mut GDrive) -> gboolean>

Trait Implementations

impl Clone for _GDriveIface[src]

fn clone(&self) -> _GDriveIface[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for _GDriveIface[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Copy for _GDriveIface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.