Enum syntax::ast::Stmt_[src]

pub enum Stmt_ {
    StmtDecl(Gc<Decl>, NodeId),
    StmtExpr(Gc<Expr>, NodeId),
    StmtSemi(Gc<Expr>, NodeId),
    StmtMac(Mac, bool),
}

Variants

StmtDecl
StmtExpr
StmtSemi
StmtMac

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for Stmt_

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Stmt_

fn decode(__arg_0: &mut __D) -> Result<Stmt_, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Stmt_

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for Stmt_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Stmt_

fn eq(&self, __arg_0: &Stmt_) -> bool

fn ne(&self, __arg_0: &Stmt_) -> bool

impl Clone for Stmt_

fn clone(&self) -> Stmt_

fn clone_from(&mut self, source: &Self)