wasmer_compiler::types::function

Trait FunctionBodyLike

Source
pub trait FunctionBodyLike<'a> {
    type UnwindInfo: CompiledFunctionUnwindInfoLike<'a>;

    // Required methods
    fn body(&'a self) -> &'a [u8] ;
    fn unwind_info(&'a self) -> Option<&Self::UnwindInfo>;
}
Expand description

Any struct that acts like a FunctionBody.

Required Associated Types§

Required Methods§

Source

fn body(&'a self) -> &'a [u8]

Source

fn unwind_info(&'a self) -> Option<&Self::UnwindInfo>

Implementors§