#[repr(C)]pub struct GHook {
pub data: gpointer,
pub next: *mut GHook,
pub prev: *mut GHook,
pub ref_count: c_uint,
pub hook_id: c_ulong,
pub flags: c_uint,
pub func: gpointer,
pub destroy: GDestroyNotify,
}
Fields
data: gpointer
next: *mut GHook
prev: *mut GHook
ref_count: c_uint
hook_id: c_ulong
flags: c_uint
func: gpointer
destroy: GDestroyNotify
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GHook
impl !Send for GHook
impl !Sync for GHook
impl Unpin for GHook
impl UnwindSafe for GHook
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more