pub struct FuncType {
pub params: IndexMap<String, ValueType>,
pub result: Option<ValueType>,
pub is_async: bool,
}Expand description
Represents a function type.
Fields§
§params: IndexMap<String, ValueType>The parameters of the function.
result: Option<ValueType>The result of the function.
is_async: boolWhether or not this is an async 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 UnsafeUnpin 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