Struct idalib_sys::func::lock_func
#[repr(C, align(8))]pub struct lock_func { /* private fields */ }
Expand description
Helper class to lock a function pointer so it stays valid
Implementations§
Trait Implementations§
§impl ExternType for lock_func
impl ExternType for lock_func
§impl MakeCppStorage for lock_func
impl MakeCppStorage for lock_func
§unsafe fn allocate_uninitialized_cpp_storage() -> *mut lock_func
unsafe fn allocate_uninitialized_cpp_storage() -> *mut lock_func
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
§unsafe fn free_uninitialized_cpp_storage(arg0: *mut lock_func)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut lock_func)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for lock_func
impl WeakPtrTarget for lock_func
Auto Trait Implementations§
impl !Freeze for lock_func
impl !RefUnwindSafe for lock_func
impl !Send for lock_func
impl !Sync for lock_func
impl !Unpin for lock_func
impl UnwindSafe for lock_func
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