Type Alias GHook

Source
pub type GHook = _GHook;

Aliased Type§

#[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)>, }

Fields§

§data: *mut c_void§next: *mut _GHook§prev: *mut _GHook§ref_count: u32§hook_id: u64§flags: u32§func: *mut c_void§destroy: Option<unsafe extern "C" fn(*mut c_void)>

Trait Implementations

Source§

impl Clone for _GHook

Source§

fn clone(&self) -> _GHook

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GHook

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GHook

Source§

fn eq(&self, other: &_GHook) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GHook

Source§

impl Eq for _GHook

Source§

impl StructuralPartialEq for _GHook