#[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 moreSource§impl Debug for GPermissionClass
impl Debug for GPermissionClass
impl Copy for GPermissionClass
Auto Trait Implementations§
impl Freeze for GPermissionClass
impl RefUnwindSafe for GPermissionClass
impl !Send for GPermissionClass
impl !Sync for GPermissionClass
impl Unpin for GPermissionClass
impl UnwindSafe for GPermissionClass
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