Struct rubic::ast::Class [] [src]

pub struct Class {
    pub name: String,
    pub items: Vec<Item>,
    pub superclass: Option<Path>,
}

A class.

Fields

The name of the class.

The items contained in the class.

The parent class.

Methods

impl Class
[src]

[src]

Trait Implementations

impl Clone for Class
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Class
[src]

[src]

Formats the value using the given formatter.

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

impl Into<Item> for Class
[src]

[src]

Performs the conversion.