Struct python_parser::ast::Classdef[][src]

pub struct Classdef {
    pub decorators: Vec<Decorator>,
    pub name: String,
    pub arguments: Vec<Argument>,
    pub code: Vec<Statement>,
}

A class definition, including its decorators.

Fields

Trait Implementations

impl Clone for Classdef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Classdef
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Classdef
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Classdef

impl Sync for Classdef