Struct pwasm_utils::TargetRuntime
source · [−]pub struct TargetRuntime {
pub create_symbol: &'static str,
pub call_symbol: &'static str,
pub return_symbol: &'static str,
}
Fields
create_symbol: &'static str
call_symbol: &'static str
return_symbol: &'static str
Implementations
sourceimpl TargetRuntime
impl TargetRuntime
pub fn substrate() -> TargetRuntime
pub fn pwasm() -> TargetRuntime
Auto Trait Implementations
impl RefUnwindSafe for TargetRuntime
impl Send for TargetRuntime
impl Sync for TargetRuntime
impl Unpin for TargetRuntime
impl UnwindSafe for TargetRuntime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more