pub trait FunctionBodyLike<'a> {
type UnwindInfo: CompiledFunctionUnwindInfoLike<'a>;
// Required methods
fn body(&'a self) -> &'a [u8] ⓘ;
fn unwind_info(&'a self) -> Option<&'a Self::UnwindInfo>;
}Available on crate features
core or std only.Expand description
Any struct that acts like a FunctionBody.
Required Associated Types§
Required Methods§
fn body(&'a self) -> &'a [u8] ⓘ
fn unwind_info(&'a self) -> Option<&'a Self::UnwindInfo>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".