pub struct FuncType {
pub params: IndexMap<String, ValueType>,
pub result: Option<ValueType>,
}Expand description
Represents a function type.
Fields§
§params: IndexMap<String, ValueType>The parameters of the function.
result: Option<ValueType>The result of the function.
Trait Implementations§
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