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
Star(Expression)Unique(Expression)
Trait Implementations
impl Clone for SetItem[src]
impl Clone for SetItemfn clone(&self) -> SetItem[src]
fn clone(&self) -> SetItemReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SetItem[src]
impl Debug for SetItemfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for SetItem[src]
impl PartialEq for SetItem