Struct 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)>,
}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§
Auto Trait Implementations§
impl Freeze for GHook
impl RefUnwindSafe for GHook
impl !Send for GHook
impl !Sync for GHook
impl Unpin for GHook
impl UnwindSafe for GHook
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more