#[repr(C)]pub struct _GHookList {
pub seq_id: u64,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
pub hooks: *mut _GHook,
pub dummy3: *mut c_void,
pub finalize_hook: Option<unsafe extern "C" fn(*mut _GHookList, *mut _GHook)>,
pub dummy: [*mut c_void; 2],
}Fields§
§seq_id: u64§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§hooks: *mut _GHook§dummy3: *mut c_void§finalize_hook: Option<unsafe extern "C" fn(*mut _GHookList, *mut _GHook)>§dummy: [*mut c_void; 2]Implementations§
Source§impl _GHookList
impl _GHookList
pub fn hook_size(&self) -> u32
pub fn set_hook_size(&mut self, val: u32)
pub fn is_setup(&self) -> u32
pub fn set_is_setup(&mut self, val: u32)
pub fn new_bitfield_1( hook_size: u32, is_setup: u32, ) -> __BindgenBitfieldUnit<[u8; 3]>
Trait Implementations§
Source§impl Clone for _GHookList
impl Clone for _GHookList
Source§fn clone(&self) -> _GHookList
fn clone(&self) -> _GHookList
Returns a duplicate 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 _GHookList
impl Debug for _GHookList
impl Copy for _GHookList
Auto Trait Implementations§
impl Freeze for _GHookList
impl RefUnwindSafe for _GHookList
impl !Send for _GHookList
impl !Sync for _GHookList
impl Unpin for _GHookList
impl UnwindSafe for _GHookList
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