[][src]Struct parser::ast::ClassDeclaration

pub struct ClassDeclaration<'t> {
    pub name: Spanned<'t, Symbol<'t>>,
    pub members: Vec<Spanned<'t, ClassMember<'t>>>,
    pub attrs: Vec<Spanned<'t, Attribute<'t>>>,
}

This AST node stores the Class declaration, which consists of a name and the members of the class.

Fields

Trait Implementations

impl<'t> PartialEq<ClassDeclaration<'t>> for ClassDeclaration<'t>
[src]

impl<'t> Clone for ClassDeclaration<'t>
[src]

Performs copy-assignment from source. Read more

impl<'t> Eq for ClassDeclaration<'t>
[src]

impl<'t> Debug for ClassDeclaration<'t>
[src]

Auto Trait Implementations

impl<'t> Send for ClassDeclaration<'t>

impl<'t> Sync for ClassDeclaration<'t>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]