Struct gio_sys::GPermissionClass
source · #[repr(C)]pub struct GPermissionClass {
pub parent_class: GObjectClass,
pub acquire: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub acquire_async: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub acquire_finish: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub release: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
pub release_async: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub release_finish: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
pub reserved: [gpointer; 16],
}
Fields§
§parent_class: GObjectClass
§acquire: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§acquire_async: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§acquire_finish: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§release: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>
§release_async: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>
§release_finish: Option<unsafe extern "C" fn(_: *mut GPermission, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>
§reserved: [gpointer; 16]
Trait Implementations§
source§impl Clone for GPermissionClass
impl Clone for GPermissionClass
source§fn clone(&self) -> GPermissionClass
fn clone(&self) -> GPermissionClass
Returns a copy 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 more