pythonic 0.3.0

pythonic is a Rust AST builder that generates Python
Documentation
use std::fmt::{Display, Formatter, Result};

use {Argument, Statement};

#[derive(Debug, Clone)]
pub struct Assignment {
    pub lhs: Argument,
    pub rhs: Box<Statement>,
}

impl Assignment {
    pub fn new(lhs: Argument, rhs: Statement) -> Assignment {
        Assignment {
            lhs: lhs,
            rhs: Box::new(rhs),
        }
    }
}

impl Display for Assignment {
    fn fmt(&self, f: &mut Formatter) -> Result {
        write!(f, "{} = {}", self.lhs, self.rhs)
    }
}