pub struct TrampolineInterface(/* private fields */);
Implementations§
Source§impl TrampolineInterface
impl TrampolineInterface
Sourcepub fn allocate_from_branch_pool(
&self,
size: usize,
) -> Result<*mut c_void, ApiStorageError>
pub fn allocate_from_branch_pool( &self, size: usize, ) -> Result<*mut c_void, ApiStorageError>
Allocates memory from the branch pool.
§Errors
If the internal global API storage is uninitialized because forgot to call skse::init
Sourcepub fn allocate_from_local_pool(
&self,
size: usize,
) -> Result<*mut c_void, ApiStorageError>
pub fn allocate_from_local_pool( &self, size: usize, ) -> Result<*mut c_void, ApiStorageError>
Allocates memory from the local pool.
§Errors
If the internal global API storage is uninitialized because forgot to call skse::init
Trait Implementations§
Source§impl Clone for TrampolineInterface
impl Clone for TrampolineInterface
Source§fn clone(&self) -> TrampolineInterface
fn clone(&self) -> TrampolineInterface
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TrampolineInterface
impl RefUnwindSafe for TrampolineInterface
impl Send for TrampolineInterface
impl Sync for TrampolineInterface
impl Unpin for TrampolineInterface
impl UnwindSafe for TrampolineInterface
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