Struct rubic::ast::Module [] [src]

pub struct Module {
    pub name: String,
    pub items: Vec<Item>,
}

A module.

Fields

The name of the module.

The items contained in the module.

Methods

impl Module
[src]

[src]

Trait Implementations

impl Clone for Module
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Module
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Module
[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 Module
[src]

impl Into<Item> for Module
[src]

[src]

Performs the conversion.