Struct python_parser::ast::Decorator[][src]

pub struct Decorator {
    pub name: Vec<Name>,
    pub args: Option<Vec<Argument>>,
}

A function or class decorator.

Fields

Trait Implementations

impl Clone for Decorator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Decorator
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Decorator
[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 Decorator

impl Sync for Decorator