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 SetItem
fn clone(&self) -> SetItem
[src]
fn clone(&self) -> SetItem
Returns 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 SetItem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SetItem
[src]
impl PartialEq for SetItem