pub struct FuncType {
pub params: Vec<ValueType>,
pub ret: Option<ValueType>,
}
Fields§
§params: Vec<ValueType>
§ret: Option<ValueType>
Trait Implementations§
Source§impl NewFunction<FuncType> for ModuleBuilder
impl NewFunction<FuncType> for ModuleBuilder
fn new_function(&mut self, t: FuncType, body: FunctionBody) -> FunctionIndex
impl Eq for FuncType
impl StructuralPartialEq for FuncType
Auto Trait Implementations§
impl Freeze for FuncType
impl RefUnwindSafe for FuncType
impl Send for FuncType
impl Sync for FuncType
impl Unpin for FuncType
impl UnwindSafe for FuncType
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