Enum python_parser::ast::SetItem[][src]

pub enum SetItem {
    Star(Expression),
    Unique(Expression),
}

*foo or foo, as in a list/set comprehension or a generator expression.

Variants

Trait Implementations

impl Clone for SetItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SetItem
[src]

Formats the value using the given formatter. Read more

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

impl Sync for SetItem