Struct golem_wasm_ast::core::FuncCode
source · pub struct FuncCode<Expr> {
pub locals: Vec<ValType>,
pub body: Expr,
}
Fields§
§locals: Vec<ValType>
§body: Expr
Trait Implementations§
source§impl<Expr: PartialEq> PartialEq for FuncCode<Expr>
impl<Expr: PartialEq> PartialEq for FuncCode<Expr>
source§impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for FuncCode<Expr>
impl<Expr: Debug + Clone + PartialEq> Section<CoreIndexSpace, CoreSectionType> for FuncCode<Expr>
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
source§impl<T: RetainsInstructions> TryFrom<&FuncCode<T>> for CodeSection
impl<T: RetainsInstructions> TryFrom<&FuncCode<T>> for CodeSection
source§impl<'a, T: TryFromExprSource> TryFrom<FunctionBody<'a>> for FuncCode<T>
impl<'a, T: TryFromExprSource> TryFrom<FunctionBody<'a>> for FuncCode<T>
impl<Expr> StructuralPartialEq for FuncCode<Expr>
Auto Trait Implementations§
impl<Expr> Freeze for FuncCode<Expr>where
Expr: Freeze,
impl<Expr> RefUnwindSafe for FuncCode<Expr>where
Expr: RefUnwindSafe,
impl<Expr> Send for FuncCode<Expr>where
Expr: Send,
impl<Expr> Sync for FuncCode<Expr>where
Expr: Sync,
impl<Expr> Unpin for FuncCode<Expr>where
Expr: Unpin,
impl<Expr> UnwindSafe for FuncCode<Expr>where
Expr: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)