Struct dyon::ast::Function [] [src]

pub struct Function {
    pub name: Arc<String>,
    pub file: Arc<String>,
    pub source: Arc<String>,
    pub args: Vec<Arg>,
    pub currents: Vec<Current>,
    pub block: Block,
    pub ret: Type,
    pub resolved: Cell<bool>,
    pub source_range: Range,
}

Fields

Methods

impl Function
[src]

Trait Implementations

impl Debug for Function
[src]

Formats the value using the given formatter.

impl Clone for Function
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more