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