Struct interpreter::value::Function
source · pub struct Function {
pub parameters: Vec<String>,
pub body: Vec<Statement>,
pub env: EnvRef,
}
Fields§
§parameters: Vec<String>
§body: Vec<Statement>
§env: EnvRef
Trait Implementations§
source§impl PartialEq for Function
impl PartialEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
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