#[repr(C)]pub struct SKSETrampolineInterface {
pub interfaceVersion: u32,
pub AllocateFromBranchPool: unsafe extern "C" fn(PluginHandle, usize) -> *mut c_void,
pub AllocateFromLocalPool: unsafe extern "C" fn(PluginHandle, usize) -> *mut c_void,
}
Expand description
Interface for managing trampoline functions in SKSE.
Fields§
§interfaceVersion: u32
The version of the trampoline interface.
AllocateFromBranchPool: unsafe extern "C" fn(PluginHandle, usize) -> *mut c_void
Allocates memory from the branch pool.
AllocateFromLocalPool: unsafe extern "C" fn(PluginHandle, usize) -> *mut c_void
Allocates memory from the local pool.
Trait Implementations§
Source§impl Debug for SKSETrampolineInterface
impl Debug for SKSETrampolineInterface
Auto Trait Implementations§
impl Freeze for SKSETrampolineInterface
impl RefUnwindSafe for SKSETrampolineInterface
impl Send for SKSETrampolineInterface
impl Sync for SKSETrampolineInterface
impl Unpin for SKSETrampolineInterface
impl UnwindSafe for SKSETrampolineInterface
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