pub struct TopLevelFn {
pub wasm_idx: u32,
pub params: Vec<Type>,
pub ret: Type,
pub is_host: bool,
}Fields§
§wasm_idx: u32§params: Vec<Type>§ret: Type§is_host: booltrue for host modules whose Wasm ABI uses raw (ref $rawString) instead of
(ref $string); drives per-arg extract and post-call rewrap in emit_direct_call.
Trait Implementations§
Source§impl Clone for TopLevelFn
impl Clone for TopLevelFn
Auto Trait Implementations§
impl Freeze for TopLevelFn
impl RefUnwindSafe for TopLevelFn
impl Send for TopLevelFn
impl Sync for TopLevelFn
impl Unpin for TopLevelFn
impl UnsafeUnpin for TopLevelFn
impl UnwindSafe for TopLevelFn
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