Type Alias GHook
Source pub type GHook = _GHook;
#[repr(C)]
pub struct GHook {
pub data: *mut c_void,
pub next: *mut _GHook,
pub prev: *mut _GHook,
pub ref_count: u32,
pub hook_id: u64,
pub flags: u32,
pub func: *mut c_void,
pub destroy: Option<unsafe extern "C" fn(*mut c_void)>,
}
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.