Struct rubic::ast::Function
[−]
[src]
pub struct Function { pub name: String, pub statements: Vec<Stmt>, }
Fields
name: String
The name of the function.
statements: Vec<Stmt>
The statements in the function.
Trait Implementations
impl Clone for Function
[src]
fn clone(&self) -> Function
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Function
[src]
impl PartialEq for Function
[src]
fn eq(&self, __arg_0: &Function) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Function) -> bool
[src]
This method tests for !=
.