Struct fungi_lang::ast::Module[][src]

pub struct Module {
    pub path: String,
    pub body: String,
    pub decls: Decls,
}

Each module consists of a declaration list body

Fields

Trait Implementations

impl Clone for Module
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Module
[src]

Formats the value using the given formatter. Read more

impl Eq for Module
[src]

impl PartialEq for Module
[src]

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

This method tests for !=.

impl Hash for Module
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Module

impl !Sync for Module