Trait wasmer_compiler::types::function::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§