pub struct Function {
pub identifier: Option<String>,
pub args: Vec<Identifier>,
pub block: BlockStatement,
pub env: Environment<String>,
}Fields§
§identifier: Option<String>§args: Vec<Identifier>§block: BlockStatement§env: Environment<String>Trait Implementations§
source§impl ObjectTrait for Function
impl ObjectTrait for Function
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