GVolumeIface

Type Alias GVolumeIface 

Source
pub type GVolumeIface = _GVolumeIface;

Aliased Type§

#[repr(C)]
pub struct GVolumeIface {
Show 22 fields pub g_iface: _GTypeInterface, pub changed: Option<unsafe extern "C" fn(*mut _GVolume)>, pub removed: Option<unsafe extern "C" fn(*mut _GVolume)>, pub get_name: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut i8>, pub get_icon: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GIcon>, pub get_uuid: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut i8>, pub get_drive: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GDrive>, pub get_mount: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GMount>, pub can_mount: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>, pub can_eject: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>, pub mount_fn: Option<unsafe extern "C" fn(*mut _GVolume, GMountMountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>, pub mount_finish: Option<unsafe extern "C" fn(*mut _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub eject: Option<unsafe extern "C" fn(*mut _GVolume, 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 _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub get_identifier: Option<unsafe extern "C" fn(*mut _GVolume, *const i8) -> *mut i8>, pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut *mut i8>, pub should_automount: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>, pub get_activation_root: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GFile>, pub eject_with_operation: Option<unsafe extern "C" fn(*mut _GVolume, 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 _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>, pub get_sort_key: Option<unsafe extern "C" fn(*mut _GVolume) -> *const i8>, pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GIcon>,
}

Fields§

§g_iface: _GTypeInterface§changed: Option<unsafe extern "C" fn(*mut _GVolume)>§removed: Option<unsafe extern "C" fn(*mut _GVolume)>§get_name: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut i8>§get_icon: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GIcon>§get_uuid: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut i8>§get_drive: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GDrive>§get_mount: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GMount>§can_mount: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>§can_eject: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>§mount_fn: Option<unsafe extern "C" fn(*mut _GVolume, GMountMountFlags, *mut _GMountOperation, *mut _GCancellable, Option<unsafe extern "C" fn(*mut _GObject, *mut _GAsyncResult, *mut c_void)>, *mut c_void)>§mount_finish: Option<unsafe extern "C" fn(*mut _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>§eject: Option<unsafe extern "C" fn(*mut _GVolume, 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 _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>§get_identifier: Option<unsafe extern "C" fn(*mut _GVolume, *const i8) -> *mut i8>§enumerate_identifiers: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut *mut i8>§should_automount: Option<unsafe extern "C" fn(*mut _GVolume) -> i32>§get_activation_root: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GFile>§eject_with_operation: Option<unsafe extern "C" fn(*mut _GVolume, 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 _GVolume, *mut _GAsyncResult, *mut *mut _GError) -> i32>§get_sort_key: Option<unsafe extern "C" fn(*mut _GVolume) -> *const i8>§get_symbolic_icon: Option<unsafe extern "C" fn(*mut _GVolume) -> *mut _GIcon>