#[repr(C)]pub struct _GVolumeIface {Show 22 fields
pub g_iface: GTypeInterface,
pub changed: Option<unsafe extern "C" fn(volume: *mut GVolume)>,
pub removed: Option<unsafe extern "C" fn(volume: *mut GVolume)>,
pub get_name: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut c_char>,
pub get_icon: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>,
pub get_uuid: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut c_char>,
pub get_drive: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GDrive>,
pub get_mount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GMount>,
pub can_mount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub can_eject: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub mount_fn: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountMountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub mount_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub eject: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub eject_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub get_identifier: Option<unsafe extern "C" fn(volume: *mut GVolume, kind: *const c_char) -> *mut c_char>,
pub enumerate_identifiers: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut *mut c_char>,
pub should_automount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>,
pub get_activation_root: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GFile>,
pub eject_with_operation: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>,
pub eject_with_operation_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>,
pub get_sort_key: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *const gchar>,
pub get_symbolic_icon: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>,
}Fields§
§g_iface: GTypeInterface§changed: Option<unsafe extern "C" fn(volume: *mut GVolume)>§removed: Option<unsafe extern "C" fn(volume: *mut GVolume)>§get_name: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut c_char>§get_icon: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>§get_uuid: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut c_char>§get_drive: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GDrive>§get_mount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GMount>§can_mount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>§can_eject: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>§mount_fn: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountMountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>§mount_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>§eject: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountUnmountFlags, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>§eject_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>§get_identifier: Option<unsafe extern "C" fn(volume: *mut GVolume, kind: *const c_char) -> *mut c_char>§enumerate_identifiers: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut *mut c_char>§should_automount: Option<unsafe extern "C" fn(volume: *mut GVolume) -> gboolean>§get_activation_root: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GFile>§eject_with_operation: Option<unsafe extern "C" fn(volume: *mut GVolume, flags: GMountUnmountFlags, mount_operation: *mut GMountOperation, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer)>§eject_with_operation_finish: Option<unsafe extern "C" fn(volume: *mut GVolume, result: *mut GAsyncResult, error: *mut *mut GError) -> gboolean>§get_sort_key: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *const gchar>§get_symbolic_icon: Option<unsafe extern "C" fn(volume: *mut GVolume) -> *mut GIcon>Trait Implementations§
Source§impl Clone for _GVolumeIface
impl Clone for _GVolumeIface
Source§fn clone(&self) -> _GVolumeIface
fn clone(&self) -> _GVolumeIface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _GVolumeIface
impl Debug for _GVolumeIface
Source§impl PartialEq for _GVolumeIface
impl PartialEq for _GVolumeIface
impl Copy for _GVolumeIface
impl Eq for _GVolumeIface
impl StructuralPartialEq for _GVolumeIface
Auto Trait Implementations§
impl Freeze for _GVolumeIface
impl RefUnwindSafe for _GVolumeIface
impl Send for _GVolumeIface
impl Sync for _GVolumeIface
impl Unpin for _GVolumeIface
impl UnwindSafe for _GVolumeIface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more