Struct rubic::ast::Function [] [src]

pub struct Function {
    pub name: String,
    pub statements: Vec<Stmt>,
}

Fields

The name of the function.

The statements in the function.

Trait Implementations

impl Clone for Function
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Function
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Function
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Function
[src]

impl Into<Item> for Function
[src]

[src]

Performs the conversion.