pub struct Function {
pub ret: ValueType,
pub args: RefCell<Vec<ValueType>>,
}
Expand description
Describes a function’s signature.
Fields§
§ret: ValueType
The type of value that the function returns.
args: RefCell<Vec<ValueType>>
The argument type definitions of the function.
Implementations§
Auto Trait Implementations§
impl !Freeze for Function
impl !RefUnwindSafe for Function
impl Send for Function
impl !Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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