pub struct IonFn {
pub fn_id: u64,
pub name: String,
pub params: Vec<Param>,
pub body: Vec<Stmt>,
pub captures: HashMap<String, Value>,
}Expand description
A function value.
Fields§
§fn_id: u64§name: String§params: Vec<Param>§body: Vec<Stmt>§captures: HashMap<String, Value>Captured environment for closures
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IonFn
impl !RefUnwindSafe for IonFn
impl Send for IonFn
impl Sync for IonFn
impl Unpin for IonFn
impl UnsafeUnpin for IonFn
impl !UnwindSafe for IonFn
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