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
sourceimpl Clone for GPermissionClass
impl Clone for GPermissionClass
sourcefn clone(&self) -> GPermissionClass
fn clone(&self) -> GPermissionClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GPermissionClass
impl Debug for GPermissionClass
impl Copy for GPermissionClass
Auto Trait Implementations
impl RefUnwindSafe for GPermissionClass
impl !Send for GPermissionClass
impl !Sync for GPermissionClass
impl Unpin for GPermissionClass
impl UnwindSafe for GPermissionClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more