Struct rubic::ast::Module
[−]
[src]
pub struct Module { pub name: String, pub items: Vec<Item>, }
A module.
Fields
name: String
The name of the module.
items: Vec<Item>
The items contained in the module.
Methods
impl Module
[src]
Trait Implementations
impl Clone for Module
[src]
fn clone(&self) -> Module
[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 Module
[src]
impl PartialEq for Module
[src]
fn eq(&self, __arg_0: &Module) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Module) -> bool
[src]
This method tests for !=
.