Struct polkavm::InstancePre
source · pub struct InstancePre<T>(/* private fields */);
Implementations§
source§impl<T> InstancePre<T>
impl<T> InstancePre<T>
sourcepub fn instantiate(&self) -> Result<Instance<T>, Error>
pub fn instantiate(&self) -> Result<Instance<T>, Error>
Instantiates a new module.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for InstancePre<T>
impl<T> !RefUnwindSafe for InstancePre<T>
impl<T> Send for InstancePre<T>
impl<T> Sync for InstancePre<T>
impl<T> Unpin for InstancePre<T>
impl<T> !UnwindSafe for InstancePre<T>
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)