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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)