pub struct Function {
pub args: Vec<String>,
pub body: FunctionBody,
pub env: Rc<RefCell<Environment>>,
}Fields§
§args: Vec<String>§body: FunctionBody§env: Rc<RefCell<Environment>>Trait Implementations§
Source§impl From<Function> for SerdeValue
impl From<Function> for SerdeValue
Auto Trait Implementations§
impl !RefUnwindSafe for Function
impl !Send for Function
impl !Sync for Function
impl !UnwindSafe for Function
impl Freeze for Function
impl Unpin for Function
impl UnsafeUnpin 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