Enum python_parser::ast::DictItem [−][src]
pub enum DictItem {
Star(Expression),
Unique(Expression, Expression),
}**foo or foo:bar, as in a dict comprehension.
Variants
Star(Expression)Unique(Expression, Expression)
Trait Implementations
impl Clone for DictItem[src]
impl Clone for DictItemfn clone(&self) -> DictItem[src]
fn clone(&self) -> DictItemReturns 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 DictItem[src]
impl Debug for DictItemfn 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 DictItem[src]
impl PartialEq for DictItem