Enum syntex_syntax::ast::Stmt_
[−]
[src]
pub enum Stmt_ {
StmtDecl(P<Decl>, NodeId),
StmtExpr(P<Expr>, NodeId),
StmtSemi(P<Expr>, NodeId),
StmtMac(P<Mac>, MacStmtStyle, ThinAttributes),
}Variants
StmtDecl | Could be an item or a local (let) binding: | |
StmtExpr | Expr without trailing semi-colon (must have unit type): | |
StmtSemi | Expr with trailing semi-colon (may have any type): | |
StmtMac |
Methods
impl Stmt_[src]
Trait Implementations
Derived Implementations
impl Hash for Stmt_[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for Stmt_[src]
impl Encodable for Stmt_[src]
impl Eq for Stmt_[src]
impl PartialEq for Stmt_[src]
fn eq(&self, __arg_0: &Stmt_) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Stmt_) -> bool
This method tests for !=.
impl Clone for Stmt_[src]
fn clone(&self) -> Stmt_
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more